Android.App.Backup.BackupDataInputStream Class
Provides an Java.IO.InputStream-like interface for accessing an entity's data during a restore operation.

See Also: BackupDataInputStream Members

Syntax

[Android.Runtime.Register("android/app/backup/BackupDataInputStream", DoNotGenerateAcw=true)]
public class BackupDataInputStream : Java.IO.InputStream

Remarks

Provides an Java.IO.InputStream-like interface for accessing an entity's data during a restore operation. Used by Android.App.Backup.IBackupHelper classes within the Android.App.Backup.BackupAgentHelper mechanism.

When IBackupHelper.RestoreEntity(BackupDataInputStream) is called, the current entity's header has already been read from the underlying Android.App.Backup.BackupDataInput. The entity's key string and total data size are available through this class's BackupDataInputStream.Key and BackupDataInputStream.Size methods, respectively.

Note: The caller should take care not to seek or close the underlying data source, nor read more than BackupDataInputStream.Size bytes from the stream.

See Also

[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