Android.App.Backup.IBackupHelper.RestoreEntity Method
Called by Android.App.Backup.BackupAgentHelper to restore a single entity from the restore data set.

Syntax

[Android.Runtime.Register("restoreEntity", "(Landroid/app/backup/BackupDataInputStream;)V", "GetRestoreEntity_Landroid_app_backup_BackupDataInputStream_Handler:Android.App.Backup.IBackupHelperInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RestoreEntity (BackupDataInputStream data)

Parameters

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

Remarks

Called by Android.App.Backup.BackupAgentHelper to restore a single entity from the restore data set. This method will be called for each entity in the data set that belongs to this handler.

Note: Do not close the data stream. Do not read more than BackupDataInputStream.Size bytes from data.

[Android Documentation]

Requirements

Namespace: Android.App.Backup
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8