LauncherApps.Callback.OnPackagesUnavailable 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 one or more packages have become unavailable.
[Android.Runtime.Register("onPackagesUnavailable", "([Ljava/lang/String;Landroid/os/UserHandle;Z)V", "GetOnPackagesUnavailable_arrayLjava_lang_String_Landroid_os_UserHandle_ZHandler")]
public abstract void OnPackagesUnavailable (string[]? packageNames, Android.OS.UserHandle? user, bool replacing);
[<Android.Runtime.Register("onPackagesUnavailable", "([Ljava/lang/String;Landroid/os/UserHandle;Z)V", "GetOnPackagesUnavailable_arrayLjava_lang_String_Landroid_os_UserHandle_ZHandler")>]
abstract member OnPackagesUnavailable : string[] * Android.OS.UserHandle * bool -> unit
Parameters
- packageNames
- String[]
The names of the packages that have become unavailable.
- user
- UserHandle
The UserHandle of the profile that generated the change.
- replacing
- Boolean
Indicates whether the packages are about to be replaced with new versions.
- Attributes
Remarks
Indicates that one or more packages have become unavailable. For example, this can happen when a removable storage card has been removed.
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.