LauncherApps.Callback.OnPackageChanged(String, UserHandle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates that a package was modified in the specified profile.
[Android.Runtime.Register("onPackageChanged", "(Ljava/lang/String;Landroid/os/UserHandle;)V", "GetOnPackageChanged_Ljava_lang_String_Landroid_os_UserHandle_Handler")]
public abstract void OnPackageChanged (string? packageName, Android.OS.UserHandle? user);
[<Android.Runtime.Register("onPackageChanged", "(Ljava/lang/String;Landroid/os/UserHandle;)V", "GetOnPackageChanged_Ljava_lang_String_Landroid_os_UserHandle_Handler")>]
abstract member OnPackageChanged : string * Android.OS.UserHandle -> unit
Parameters
- packageName
- String
The name of the package that has changed.
- user
- UserHandle
The UserHandle of the profile that generated the change.
- Attributes
Remarks
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.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.