PackageInstaller.UpdateSessionAppLabel 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | 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 所創建與分享的作品,並依授權條款所描述的使用進行修改。