NurApiAccessoryBatteryInfo Class

Hold information about battery of accessory

Definition

Namespace: NurApiDotNet
Assembly: NordicID.NurApi.Net (in NordicID.NurApi.Net.dll) Version: 4.0.0
C#
public class AccessoryBatteryInfo
Inheritance
Object    NurApiAccessoryBatteryInfo

Constructors

NurApiAccessoryBatteryInfoInitializes a new instance of the NurApiAccessoryBatteryInfo class

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

Fields

Capacity Battery capacity in mAh. -1 if unknown.
Charging True if accessory currently charging
Current Current battery current draw in mA.
Percentage Battery percentage level 0-100. -1 if unknown
Voltage Battery voltage level in mV. -1 if unknown.

See Also