Android.App.Backup.BackupAgent Members

The members of Android.App.Backup.BackupAgent are listed below.

See Also: Inherited members from Android.Content.ContextWrapper

Public Constructors

Protected Constructors

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

Public Fields

const
TypeDirectoryBackupFileType (2). During a full restore, indicates that the file system object being restored is a directory.
const
TypeFileBackupFileType (1). During a full restore, indicates that the file system object being restored is an ordinary file.

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

FullBackupFile(Java.IO.File, FullBackupDataOutput)
Write an entire file as part of a full-backup operation.
FullBackupFileAsync(Java.IO.File, FullBackupDataOutput) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
abstract
OnBackup(Android.OS.ParcelFileDescriptor, BackupDataOutput, Android.OS.ParcelFileDescriptor)
The application is being asked to write any data changed since the last time it performed a backup operation.
OnCreate()
Provided as a convenience for agent implementations that need an opportunity to do one-time initialization before the actual backup or restore operation is begun.
OnDestroy()
Provided as a convenience for agent implementations that need to do some sort of shutdown process after backup or restore is completed.
OnFullBackup(FullBackupDataOutput)
The application is having its entire file system contents backed up.
abstract
OnRestore(BackupDataInput, int, Android.OS.ParcelFileDescriptor)
The application is being restored from backup and should replace any existing data with the contents of the backup.
OnRestoreFile(Android.OS.ParcelFileDescriptor, long, Java.IO.File, BackupFileType, long, long)
Handle the data delivered via the given file descriptor during a full restore operation.
OnRestoreFinished()
The application's restore operation has completed.