PowerManagerGetSuspendTimeout Method |
This function allows to get the device screen off timeout before automatic
suspension.
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 SuspendTimeout GetSuspendTimeout(
bool externalPower
)
Public Overridable Function GetSuspendTimeout (
externalPower As Boolean
) As SuspendTimeout
Parameters
- externalPower
- Type: SystemBoolean
- The boolean value indicating if the requested timeout is the one running while
powered externally or while the only power source is the internal battery.
Return Value
Type:
SuspendTimeoutThe
SuspendTimeout representing the active timeout.
Exceptions Remarks See Also