DLBatteryManagerGetIntProperty Method |
Reads the integer value of a specific battery property.
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 int GetIntProperty(
BatteryInfo prop
)
Public Function GetIntProperty (
prop As BatteryInfo
) As Integer
Parameters
- prop
- Type: Com.Datalogic.Device.BatteryBatteryInfo
- The required BatteryInfo.
Return Value
Type:
Int32int
The value of the specified property, or throws an
Exception in case of failure.
Remarks Reads the integer value of a specific battery property. This value is present
as one of the properties of the BatteryInfo
. Call this method only with
BatteryInfo
related to properties of type int
. For
properties of type String
, use getStringProperty() instead.
[Android Documentation]
See Also