Click or drag to resize

PowerManagerIsWakeupActive Method

This function allows to know if a wakeup source is currently active.

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 bool IsWakeupActive(
	WakeupSource source
)

Parameters

source
Type: Com.Datalogic.Device.PowerWakeupSource
- The WakeupSource that should be checked, whether is currently active or not.

Return Value

Type: Boolean
boolean true if the source is active, false otherwise.
Exceptions
ExceptionCondition
DeviceException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

This function allows to know if a wakeup source is currently active.

[Android Documentation]

See Also