Android.App.Backup.BackupAgentHelper Class
A convenient Android.App.Backup.BackupAgent wrapper class that automatically manages heterogeneous data sets within the backup data, each identified by a unique key prefix.

See Also: BackupAgentHelper Members

Syntax

[Android.Runtime.Register("android/app/backup/BackupAgentHelper", DoNotGenerateAcw=true)]
public class BackupAgentHelper : BackupAgent

Remarks

A convenient Android.App.Backup.BackupAgent wrapper class that automatically manages heterogeneous data sets within the backup data, each identified by a unique key prefix. When processing a backup or restore operation, the BackupAgentHelper dispatches to one or more installed Android.App.Backup.IBackupHelper objects, each of which is responsible for a defined subset of the data being processed.

An application will typically extend this class in its own backup agent. Then, within the agent's BackupAgent.OnCreate method, it will call BackupAgentHelper.AddHelper(string, Android.App.Backup.IBackupHelper) one or more times to install the handlers for each kind of data it wishes to manage within its backups.

The Android framework currently provides two predefined Android.App.Backup.IBackupHelper classes:

An application can also implement its own helper classes to work within the Android.App.Backup.BackupAgentHelper framework. See the Android.App.Backup.IBackupHelper interface documentation for details.

Developer Guides

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

See Also

[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