PowerManagerActivateWakeup Method |
This function allows setting a wakeup source.
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 ActivateWakeup(
WakeupSource source
)
Public Overridable Function ActivateWakeup (
source As WakeupSource
) As Integer
Parameters
- source
- Type: Com.Datalogic.Device.PowerWakeupSource
- The WakeupSource that should activate the device from sleep and needs to be enabled.
Return Value
Type:
Int32intSuccess in case of success,
otherwise a possible error code, matching one of the
DeviceException error constants.
Exceptions Remarks This function allows setting a wakeup source. If the source is already
set, no action is performed.
[Android Documentation]
See Also