Share via


PackageInstaller.UpdateSessionAppLabel Method

Definition

Overloads

UpdateSessionAppLabel(Int32, ICharSequence)

Update the label representing the app being installed in a specific session.

UpdateSessionAppLabel(Int32, String)

Update the label representing the app being installed in a specific session.

UpdateSessionAppLabel(Int32, ICharSequence)

Update the label representing the app being installed in a specific session.

[Android.Runtime.Register("updateSessionAppLabel", "(ILjava/lang/CharSequence;)V", "GetUpdateSessionAppLabel_ILjava_lang_CharSequence_Handler")]
public virtual void UpdateSessionAppLabel (int sessionId, Java.Lang.ICharSequence? appLabel);
[<Android.Runtime.Register("updateSessionAppLabel", "(ILjava/lang/CharSequence;)V", "GetUpdateSessionAppLabel_ILjava_lang_CharSequence_Handler")>]
abstract member UpdateSessionAppLabel : int * Java.Lang.ICharSequence -> unit
override this.UpdateSessionAppLabel : int * Java.Lang.ICharSequence -> unit

Parameters

sessionId
Int32
appLabel
ICharSequence
Attributes

Exceptions

when the caller does not own the session, or the session is invalid.

Remarks

Update the label representing the app being installed in a specific session.

Java documentation for android.content.pm.PackageInstaller.updateSessionAppLabel(int, java.lang.CharSequence).

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

UpdateSessionAppLabel(Int32, String)

Update the label representing the app being installed in a specific session.

public void UpdateSessionAppLabel (int sessionId, string? appLabel);
member this.UpdateSessionAppLabel : int * string -> unit

Parameters

sessionId
Int32
appLabel
String

Remarks

Update the label representing the app being installed in a specific session.

Java documentation for android.content.pm.PackageInstaller.updateSessionAppLabel(int, java.lang.CharSequence).

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