public static class PackageManager.LegacyPackageInstallObserver extends PackageInstallObserver
Constructor and Description |
---|
LegacyPackageInstallObserver(IPackageInstallObserver legacy) |
Modifier and Type | Method and Description |
---|---|
void |
onPackageInstalled(String basePackageName,
int returnCode,
String msg,
Bundle extras)
This method will be called to report the result of the package
installation attempt.
|
getBinder, onUserActionRequired
public LegacyPackageInstallObserver(IPackageInstallObserver legacy)
public void onPackageInstalled(String basePackageName, int returnCode, String msg, Bundle extras)
PackageInstallObserver
onPackageInstalled
in class PackageInstallObserver
basePackageName
- Name of the package whose installation was
attemptedreturnCode
- The numeric success or failure code indicating the
basic outcomeextras
- If non-null, this Bundle contains extras providing
additional information about an install failure. See
PackageManager
for documentation
about which extras apply to various failures; in particular
the strings named EXTRA_FAILURE_*.