共用方式為


FileBackupHelper.RestoreEntity(BackupDataInputStream) Method

Definition

Restore one record [representing a single file] from the restore dataset.

[Android.Runtime.Register("restoreEntity", "(Landroid/app/backup/BackupDataInputStream;)V", "GetRestoreEntity_Landroid_app_backup_BackupDataInputStream_Handler")]
public virtual void RestoreEntity (Android.App.Backup.BackupDataInputStream? data);
[<Android.Runtime.Register("restoreEntity", "(Landroid/app/backup/BackupDataInputStream;)V", "GetRestoreEntity_Landroid_app_backup_BackupDataInputStream_Handler")>]
abstract member RestoreEntity : Android.App.Backup.BackupDataInputStream -> unit
override this.RestoreEntity : Android.App.Backup.BackupDataInputStream -> unit

Parameters

data
BackupDataInputStream

An open BackupDataInputStream from which the backup data can be read.

Implements

Attributes

Remarks

Restore one record [representing a single file] from the restore dataset.

This should only be called directly from within the BackupAgentHelper implementation.

Java documentation for android.app.backup.FileBackupHelper.restoreEntity(android.app.backup.BackupDataInputStream).

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