IT. Expert System.

Android Reference

RestoreObserver


android.app.backup

Class RestoreObserver



  • public abstract class RestoreObserver
    extends Object
    Callback class for receiving progress reports during a restore operation. These methods will all be called on your application's main thread.
    • Constructor Detail

      • RestoreObserver

        public RestoreObserver()
    • Method Detail

      • restoreSetsAvailable

        public void restoreSetsAvailable(RestoreSet[] result)
        Supply a list of the restore datasets available from the current transport. This method is invoked as a callback following the application's use of the android.app.backup.IRestoreSession.getAvailableRestoreSets method.
        Parameters:
        result - An array of RestoreSet objects describing all of the available datasets that are candidates for restoring to the current device. If no applicable datasets exist, result will be null.
      • restoreStarting

        public void restoreStarting(int numPackages)
        The restore operation has begun.
        Parameters:
        numPackages - The total number of packages being processed in this restore operation.
      • onUpdate

        public 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. 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.
        Parameters:
        nowBeingRestored - The index, between 1 and the numPackages parameter to the 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.
      • restoreFinished

        public void restoreFinished(int error)
        The restore process has completed. This method will always be called, even if no individual package restore operations were attempted.
        Parameters:
        error - Zero on success; a nonzero error code if the restore operation as a whole failed.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 10790 / . Delta: 0.14215 с