Added in API level 8

RestoreObserver


public abstract class RestoreObserver
extends Object

java.lang.Object
   ↳ android.app.backup.RestoreObserver


Callback class for receiving progress reports during a restore operation. These methods will all be called on your application's main thread.

Summary

Public constructors

RestoreObserver()

Public methods

void onUpdate(int nowBeingRestored, String currentPackage)

An indication of which package is being restored currently, out of the total number provided in the restoreStarting(int) callback.

void restoreFinished(int error)

The restore process has completed.

void restoreStarting(int numPackages)

The restore operation has begun.

Inherited methods