LauncherApps.Callback.OnPackagesAvailable 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 available.
[Android.Runtime.Register("onPackagesAvailable", "([Ljava/lang/String;Landroid/os/UserHandle;Z)V", "GetOnPackagesAvailable_arrayLjava_lang_String_Landroid_os_UserHandle_ZHandler")]
public abstract void OnPackagesAvailable (string[]? packageNames, Android.OS.UserHandle? user, bool replacing);
[<Android.Runtime.Register("onPackagesAvailable", "([Ljava/lang/String;Landroid/os/UserHandle;Z)V", "GetOnPackagesAvailable_arrayLjava_lang_String_Landroid_os_UserHandle_ZHandler")>]
abstract member OnPackagesAvailable : string[] * Android.OS.UserHandle * bool -> unit
Parameters
- packageNames
- String[]
The names of the packages that have become available.
- user
- UserHandle
The UserHandle of the profile that generated the change.
- replacing
- Boolean
Indicates whether these packages are replacing existing ones.
- Attributes
Remarks
Indicates that one or more packages have become available. For example, this can happen when a removable storage card has reappeared.
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.