FileDocCategorySizeDatePackage
PackageInstallObserver.javaAPI DocAndroid 5.1 API2322Thu Mar 12 22:22:10 GMT 2015android.app

PackageInstallObserver

public class PackageInstallObserver extends Object
{@hide}

Fields Summary
private final IPackageInstallObserver2.Stub
mBinder
Constructors Summary
Methods Summary
public android.content.pm.IPackageInstallObserver2getBinder()
{@hide}


      
       
        return mBinder;
    
public voidonPackageInstalled(java.lang.String basePackageName, int returnCode, java.lang.String msg, android.os.Bundle extras)
This method will be called to report the result of the package installation attempt.

param
basePackageName Name of the package whose installation was attempted
param
extras If non-null, this Bundle contains extras providing additional information about an install failure. See {@link android.content.pm.PackageManager} for documentation about which extras apply to various failures; in particular the strings named EXTRA_FAILURE_*.
param
returnCode The numeric success or failure code indicating the basic outcome
hide

    
public voidonUserActionRequired(android.content.Intent intent)