- 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.
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.