Example usage for android.app.backup RestoreObserver RestoreObserver

List of usage examples for android.app.backup RestoreObserver RestoreObserver

Introduction

In this page you can find the example usage for android.app.backup RestoreObserver RestoreObserver.

Prototype

RestoreObserver

Source Link

Usage

From source file:Main.java

public static void requestRestore() {
    mBM.requestRestore(new RestoreObserver() {
        @Override/*from   w  w  w . j a v a 2s  .com*/
        public void restoreFinished(int error) {
            super.restoreFinished(error);
            if (0 == error) {
                //System.exit( 0 );
            }
        }
    });
}