Android.App.Backup.BackupAgent.FullBackupFile Method
Write an entire file as part of a full-backup operation.

Syntax

[Android.Runtime.Register("fullBackupFile", "(Ljava/io/File;Landroid/app/backup/FullBackupDataOutput;)V", "")]
public void FullBackupFile (Java.IO.File file, FullBackupDataOutput output)

Parameters

file
The file to be backed up. The file must exist and be readable by the caller.
output
The destination to which the backed-up file data will be sent.

Remarks

Write an entire file as part of a full-backup operation. The file's contents will be delivered to the backup destination along with the metadata necessary to place it with the proper location and permissions on the device where the data is restored.

It is safe to explicitly back up files underneath your application's Android.Content.ContextWrapper.NoBackupFilesDir directory, and they will be restored to that location correctly.

[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 14