rebootDevice

fun rebootDevice(mode: String): Int

Reboot device

Return

Const.EXECUTE_COMPLETE - function completed

Const.VALUE_IS_EMPTY - The specified value is empty. Function failed

Parameters

mode

normal, recovery, safemode, deviceowner