java.lang.Object | |
↳ | android.content.pm.LauncherApps.Callback |
Callbacks for package changes to this and related managed profiles.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Indicates that a package was added to the specified profile.
| |||||||||||
Indicates that a package was modified in the specified profile.
| |||||||||||
Indicates that a package was removed from the specified profile.
| |||||||||||
Indicates that one or more packages have become available.
| |||||||||||
Indicates that one or more packages have become unavailable.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Indicates that a package was added to the specified profile. If a package is added while being updated then onPackageChanged will be called instead.
packageName | The name of the package that was added. |
---|---|
user | The UserHandle of the profile that generated the change. |
Indicates that a package was modified in the specified profile. This can happen, for example, when the package is updated or when one or more components are enabled or disabled.
packageName | The name of the package that has changed. |
---|---|
user | The UserHandle of the profile that generated the change. |
Indicates that a package was removed from the specified profile. If a package is removed while being updated onPackageChanged will be called instead.
packageName | The name of the package that was removed. |
---|---|
user | The UserHandle of the profile that generated the change. |
Indicates that one or more packages have become available. For example, this can happen when a removable storage card has reappeared.
packageNames | The names of the packages that have become available. |
---|---|
user | The UserHandle of the profile that generated the change. |
replacing | Indicates whether these packages are replacing existing ones. |
Indicates that one or more packages have become unavailable. For example, this can happen when a removable storage card has been removed.
packageNames | The names of the packages that have become unavailable. |
---|---|
user | The UserHandle of the profile that generated the change. |
replacing | Indicates whether the packages are about to be replaced with new versions. |