Android Guides | Samples

Android.OS.RecoverySystem Class

RecoverySystem contains methods for interacting with the Android recovery system (the separate partition that can be used to install system updates, wipe user data, etc.

See Also: RecoverySystem

Syntax

[Android.Runtime.Register("android/os/RecoverySystem", DoNotGenerateAcw=true)]
public class RecoverySystem : Object

Remarks

RecoverySystem contains methods for interacting with the Android recovery system (the separate partition that can be used to install system updates, wipe user data, etc.)

[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

The members of Android.OS.RecoverySystem are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
InstallPackage(Context, File)
Reboots the device in order to install the given update package.
static
RebootWipeCache(Context)
Reboot into the recovery system to wipe the /cache partition.
static
RebootWipeUserData(Context)
Reboots the device and wipes the user data and cache partitions.
static
VerifyPackage(File, RecoverySystem+IProgressListener, File)
Verify the cryptographic signature of a system update package before installing it.