Click or drag to resize

PowerManagerClearWakeup Method

This function allows clearing a wakeup source from those previously set.

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 int ClearWakeup(
	WakeupSource source
)

Parameters

source
Type: Com.Datalogic.Device.PowerWakeupSource
- The WakeupSource that should no longer wake up the device anymore.

Return Value

Type: Int32
intSuccess in case of success, otherwise a possible error code, matching one of the DeviceException error constants.
Exceptions
ExceptionCondition
DeviceException - in case of error, when exceptions are enabled through the ErrorManager singleton.
Remarks

This function allows clearing a wakeup source from those previously set. If the source was not set, no action is performed.

[Android Documentation]

See Also