- observer
- The Android.App.Backup.RestoreObserver to receive callbacks during the restore operation. This must not be null.
Documentation for this section has not yet been entered.
Restore the calling application from backup. The data will be restored from the current backup dataset if the application has stored data there, or from the dataset used during the last full device setup operation if the current backup dataset has no matching data. If no backup data exists for this application in either source, a nonzero value will be returned.
If this method returns zero (meaning success), the OS will attempt to retrieve a backed-up dataset from the remote transport, instantiate the application's backup agent, and pass the dataset to the agent's BackupAgent.OnRestore(BackupDataInput, System.Int32, System.Int32) method.