BackupAgent.OnRestoreFinished 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
应用程序的还原操作已完成。
[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()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
另请参阅
- <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)>