Udostępnij za pośrednictwem


SharedPreferencesBackupHelper.RestoreEntity(BackupDataInputStream) Method

Definition

Restores one entity from the restore data stream to its proper shared preferences file store.

[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

Restores one entity from the restore data stream to its proper shared preferences file store.

Java documentation for android.app.backup.SharedPreferencesBackupHelper.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