語言

PackageInstaller.SessionParams.SetAppLabel 方法

定義

多載

名稱 Description
SetAppLabel(ICharSequence)

也可以選擇設定一個標籤,代表正在安裝的應用程式。

SetAppLabel(String)

也可以選擇設定一個標籤,代表正在安裝的應用程式。

SetAppLabel(ICharSequence)

也可以選擇設定一個標籤,代表正在安裝的應用程式。

[Android.Runtime.Register("setAppLabel", "(Ljava/lang/CharSequence;)V", "GetSetAppLabel_Ljava_lang_CharSequence_Handler")]
public virtual void SetAppLabel(Java.Lang.ICharSequence? appLabel);
[<Android.Runtime.Register("setAppLabel", "(Ljava/lang/CharSequence;)V", "GetSetAppLabel_Ljava_lang_CharSequence_Handler")>]
abstract member SetAppLabel : Java.Lang.ICharSequence -> unit
override this.SetAppLabel : Java.Lang.ICharSequence -> unit

參數

appLabel
ICharSequence
屬性

備註

也可以選擇設定一個標籤,代表正在安裝的應用程式。

此值將被修剪至前 1000 個字元。

Java 文件 android.content.pm.PackageInstaller.SessionParams.setAppLabel(java.lang.CharSequence)。

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

適用於

SetAppLabel(String)

也可以選擇設定一個標籤,代表正在安裝的應用程式。

public void SetAppLabel(string? appLabel);
member this.SetAppLabel : string -> unit

參數

appLabel
String

備註

也可以選擇設定一個標籤,代表正在安裝的應用程式。

此值將被修剪至前 1000 個字元。

Java 文件 android.content.pm.PackageInstaller.SessionParams.setAppLabel(java.lang.CharSequence)。

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

適用於