Click or drag to resize

PowerManagerReboot Method

Reset the device.

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 Reboot(
	BootType resetType
)

Parameters

resetType
Type: Com.Datalogic.DeviceBootType
- The BootType type of reboot to perform.

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

Reset the device. The device will be turned off, then turned on.

[Android Documentation]

See Also