LauncherApps.Callback.OnPackageRemoved(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 removed from the specified profile.
[Android.Runtime.Register("onPackageRemoved", "(Ljava/lang/String;Landroid/os/UserHandle;)V", "GetOnPackageRemoved_Ljava_lang_String_Landroid_os_UserHandle_Handler")]
public abstract void OnPackageRemoved (string? packageName, Android.OS.UserHandle? user);
[<Android.Runtime.Register("onPackageRemoved", "(Ljava/lang/String;Landroid/os/UserHandle;)V", "GetOnPackageRemoved_Ljava_lang_String_Landroid_os_UserHandle_Handler")>]
abstract member OnPackageRemoved : string * Android.OS.UserHandle -> unit
Parameters
- packageName
- String
The name of the package that was removed.
- user
- UserHandle
The UserHandle of the profile that generated the change.
- Attributes
Remarks
Indicates that a package was removed from the specified profile.
If a package is removed while being updated onPackageChanged will be called instead.
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.