Click or drag to resize

DLBatteryManager Class

Inheritance Hierarchy
Object
  Com.Datalogic.Device.BatteryDLBatteryManager

Namespace:  Com.Datalogic.Device.Battery
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class DLBatteryManager : Object

The DLBatteryManager type exposes the following members.

Properties
  NameDescription
Public propertyBatteryStatus
Reads the battery status.
Public propertyCurrentChargingProfile
Gets the current charging profile setup in this device.
Public propertyStatic memberInstance
Returns an instance of the DLBatteryManager
Public propertyJniPeerMembers
To be added.
Public propertyManufacturerInfo
Reads the battery manufacturer info.
Public propertySupportedChargingProfiles
Gets the supported charging profiles in this device.
Top
Methods
  NameDescription
Public methodAddBatteryEventListener
Public methodGetIntProperty
Reads the integer value of a specific battery property.
Public methodGetStringProperty
Reads the String value of a specific battery property.
Public methodInitBatteryEvents
To be added.
Public methodRemoveBatteryEventListener
Unregisters a IBatteryEventListener
Top
Remarks
The DLBatteryManager allows to read specific battery parameters. Lifetime and realtime values can be read through the BatteryStatus and manufacturer information can be read through the ManufacturerInfo. This class is also used to retrieve information and setup the current charging profile between the ones available, through the ChargingProfile.

[Android Documentation]

See Also