Android.App.Backup.BackupManager Class
The interface through which an application interacts with the Android backup service to request backup and restore operations.

See Also: BackupManager Members

Syntax

[Android.Runtime.Register("android/app/backup/BackupManager", DoNotGenerateAcw=true)]
public class BackupManager : Java.Lang.Object

Remarks

The interface through which an application interacts with the Android backup service to request backup and restore operations. Applications instantiate it using the constructor and issue calls through that instance.

When an application has made changes to data which should be backed up, a call to BackupManager.DataChanged will notify the backup service. The system will then schedule a backup operation to occur in the near future. Repeated calls to BackupManager.DataChanged have no further effect until the backup operation actually occurs.

A backup or restore operation for your application begins when the system launches the Android.App.Backup.BackupAgent subclass you've declared in your manifest. See the documentation for Android.App.Backup.BackupAgent for a detailed description of how the operation then proceeds.

Several attributes affecting the operation of the backup and restore mechanism can be set on the <application> tag in your application's AndroidManifest.xml file.

Developer Guides

For more information about using BackupManager, read the Data Backup developer guide.

[Android Documentation]

Requirements

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