PackageInstaller.UpdateSessionAppLabel 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.
Overloads
| Name | Description |
|---|---|
| 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. |
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
The identifier of the caller-owned session to update.
- appLabel
- String
The session's display label as a string.
Remarks
Update the label representing the app being installed in a specific session.
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, 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
The identifier of the caller-owned session to update.
- appLabel
- ICharSequence
The display label text to send for the session.
- 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.
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.