語言

BackupAgent.OnRestoreFinished 方法

定義

應用程式的還原操作已完成。

[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
屬性

備註

應用程式的還原操作已完成。 此方法在所有可用資料送達應用程式還原後(透過 #onRestore(BackupDataInput, int, ParcelFileDescriptor) onRestore() 或 #onRestoreFile(ParcelFileDescriptor, long, File, int, long, long) onRestoreFile() 回調)被呼叫。 這讓應用程式在還原結束後有穩定的機會,能對剛交付的資料進行適當的後處理。

Java 文件 android.app.backup.BackupAgent.onRestoreFinished()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

另請參閱

  • <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)>