Android.OS.PowerManager.Reboot Method
Reboot the device.

Syntax

[Android.Runtime.Register("reboot", "(Ljava/lang/String;)V", "GetReboot_Ljava_lang_String_Handler")]
public virtual void Reboot (string reason)

Parameters

reason
code to pass to the kernel (e.g., "recovery") to request special boot modes, or null.

Remarks

Reboot the device. Will not return if the reboot is successful.

Requires the NoType:android/Manifest$permission;Href=../../../reference/android/Manifest.permission.html#REBOOT permission.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8