https://developer.android.com/reference/android/os/PowerManager
PowerManager | Android Developers
developer.android.com
reboot
Added in API level 8
public void reboot (String reason)
Reboot the device. Will not return if the reboot is successful.
Requires the Manifest.permission.REBOOT permission.
If the reason string contains ",quiescent", then the screen stays off during reboot and is not turned on again until the user triggers the device to wake up (for example, by pressing the power key). This behavior applies to Android TV devices launched on Android 11 (API level 30) or higher.
'개발' 카테고리의 다른 글
[Android] AsyncTask was deprecated in API level 30. (0) | 2021.11.29 |
---|---|
[Android] Don't Store Data in the Application Object (0) | 2021.11.23 |
Broadcast Service on Cloud (0) | 2021.09.30 |
Digital Video Broadcasting (DVB); Adaptive media streaming over IP multicast (0) | 2021.09.08 |
TCP segments (0) | 2021.08.06 |