Edit

Share via


BatteryObject Class

Definition

PDO of a battery sources.

C#
public class BatteryObject : Iot.Device.Usb.PowerDeliveryObject
Inheritance
BatteryObject

Constructors

BatteryObject(UInt32)

Initializes a new instance of the BatteryObject class.

Properties

MaximalVoltage

Gets or sets the maximal voltage.

MinimalVoltage

Gets or sets the minimal voltage.

OperatingPower

Gets or sets the operating power.

Power

Gets the power of this PDO.

Value

Gets or sets the value which encodes all properties of this PDO and can be used to send this PDO to the USB-PD controller. See USB-PD specification for details.

(Inherited from PowerDeliveryObject)

Methods

ToString()

Returns a string that represents the current object.

Applies to

Product Versions
.NET IoT Libraries 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0