Click or drag to resize

PowerManagerWakeupReason Property

This function allows to know the source of the last wakeup.

Namespace:  Com.Datalogic.Device.Power
Assembly:  datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public virtual WakeupSource WakeupReason { get; }

Property Value

Type: WakeupSource
The value of the last wakeup source as a WakeupSource, null in case no wake up source woke up the device.
Exceptions
ExceptionCondition
DeviceException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

This function allows to know the source of the last wakeup.

[Android Documentation]

See Also