Udostępnij za pośrednictwem


LauncherApps.Callback.OnPackageLoadingProgressChanged Method

Definition

Indicates that the loading progress of an installed package has changed.

[Android.Runtime.Register("onPackageLoadingProgressChanged", "(Ljava/lang/String;Landroid/os/UserHandle;F)V", "GetOnPackageLoadingProgressChanged_Ljava_lang_String_Landroid_os_UserHandle_FHandler", ApiSince=31)]
public virtual void OnPackageLoadingProgressChanged (string packageName, Android.OS.UserHandle user, float progress);
[<Android.Runtime.Register("onPackageLoadingProgressChanged", "(Ljava/lang/String;Landroid/os/UserHandle;F)V", "GetOnPackageLoadingProgressChanged_Ljava_lang_String_Landroid_os_UserHandle_FHandler", ApiSince=31)>]
abstract member OnPackageLoadingProgressChanged : string * Android.OS.UserHandle * single -> unit
override this.OnPackageLoadingProgressChanged : string * Android.OS.UserHandle * single -> unit

Parameters

packageName
String

The name of the package that has changed.

user
UserHandle

The UserHandle of the profile that generated the change.

progress
Single

The new progress value, between [0, 1].

Attributes

Remarks

Indicates that the loading progress of an installed package has changed.

Java documentation for android.content.pm.LauncherApps.Callback.onPackageLoadingProgressChanged(java.lang.String, android.os.UserHandle, float).

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.

Applies to