Click or drag to resize

DLBatteryManagerGetStringProperty Method

Reads the String 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 string GetStringProperty(
	BatteryInfo prop
)

Parameters

prop
Type: Com.Datalogic.Device.BatteryBatteryInfo
- The required BatteryInfo.

Return Value

Type: String
String The value of the specified property, or throws an Exception in case of failure.
Remarks

Reads the String 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 String

. For properties of type int

, call getIntProperty() instead.

[Android Documentation]

See Also