語言

PackageInstaller.UpdateSessionAppLabel 方法

定義

多載

名稱 Description
UpdateSessionAppLabel(Int32, String)

更新代表該應用程式在特定工作階段安裝的標籤。

UpdateSessionAppLabel(Int32, ICharSequence)

更新代表該應用程式在特定工作階段安裝的標籤。

UpdateSessionAppLabel(Int32, String)

更新代表該應用程式在特定工作階段安裝的標籤。

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

參數

sessionId
Int32
appLabel
String

備註

更新代表該應用程式在特定工作階段安裝的標籤。

Java 文件 android.content.pm.PackageInstaller.updateSessionAppLabel(int, java.lang.CharSequence)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

UpdateSessionAppLabel(Int32, ICharSequence)

更新代表該應用程式在特定工作階段安裝的標籤。

[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

參數

sessionId
Int32
appLabel
ICharSequence
屬性

例外狀況

當呼叫者不擁有該會話,或該會話無效時。

備註

更新代表該應用程式在特定工作階段安裝的標籤。

Java 文件 android.content.pm.PackageInstaller.updateSessionAppLabel(int, java.lang.CharSequence)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於