Android.App.Backup.RestoreObserver.OnUpdate Method
An indication of which package is being restored currently, out of the total number provided in the RestoreObserver.RestoreStarting(int) callback.

Syntax

[Android.Runtime.Register("onUpdate", "(ILjava/lang/String;)V", "GetOnUpdate_ILjava_lang_String_Handler")]
public virtual void OnUpdate (int nowBeingRestored, string currentPackage)

Parameters

nowBeingRestored
The index, between 1 and the numPackages parameter to the RestoreObserver.RestoreStarting(int) callback, of the package now being restored. This may be non-monotonic; it is intended purely as a rough indication of the backup manager's progress through the overall restore process.
currentPackage
The name of the package now being restored.

Remarks

An indication of which package is being restored currently, out of the total number provided in the RestoreObserver.RestoreStarting(int) callback. This method is not guaranteed to be called: if the transport is unable to obtain data for one or more of the requested packages, no onUpdate() call will occur for those packages.

[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