Udostępnij za pośrednictwem


BackupAgent.OnRestoreFinished Method

Definition

The application's restore operation has completed.

[Android.Runtime.Register("onRestoreFinished", "()V", "GetOnRestoreFinishedHandler")]
public virtual void OnRestoreFinished ();
[<Android.Runtime.Register("onRestoreFinished", "()V", "GetOnRestoreFinishedHandler")>]
abstract member OnRestoreFinished : unit -> unit
override this.OnRestoreFinished : unit -> unit
Attributes

Remarks

The application's restore operation has completed. This method is called after all available data has been delivered to the application for restore (via either the #onRestore(BackupDataInput, int, ParcelFileDescriptor) onRestore() or #onRestoreFile(ParcelFileDescriptor, long, File, int, long, long) onRestoreFile() callbacks). This provides the app with a stable end-of-restore opportunity to perform any appropriate post-processing on the data that was just delivered.

Java documentation for android.app.backup.BackupAgent.onRestoreFinished().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also

  • <xref:Android.App.Backup.BackupAgent.OnRestore(Android.App.Backup.BackupDataInput%2c+System.Int32%2c+System.Int32)>
  • <xref:Android.App.Backup.BackupAgent.OnRestoreFile(Android.OS.ParcelFileDescriptor%2c+System.Int64%2c+System.Int64%2c+System.Int64%2c+System.Int64%2c+System.Int64)>