語言

RemoteInput.Builder.SetLabel 方法

定義

多載

名稱 Description
SetLabel(ICharSequence)

設定一個標籤,讓使用者在收集這些輸入時會顯示。

SetLabel(String)

設定一個標籤,讓使用者在收集這些輸入時會顯示。

SetLabel(ICharSequence)

設定一個標籤,讓使用者在收集這些輸入時會顯示。

[Android.Runtime.Register("setLabel", "(Ljava/lang/CharSequence;)Landroid/app/RemoteInput$Builder;", "")]
public Android.App.RemoteInput.Builder SetLabel(Java.Lang.ICharSequence? label);
[<Android.Runtime.Register("setLabel", "(Ljava/lang/CharSequence;)Landroid/app/RemoteInput$Builder;", "")>]
member this.SetLabel : Java.Lang.ICharSequence -> Android.App.RemoteInput.Builder

參數

label
ICharSequence

CharSequence:使用者輸入回應時顯示的標籤。 這個值可能是 Null。

傳回

此物件用於方法鏈結。 這個值不可能為零值。

屬性

備註

設定一個標籤,讓使用者在收集這些輸入時會顯示。

本頁內容與程式碼範例受內容授權條款所規範。 Java 和 OpenJDK 是 Oracle 和/或其關係企業的商標或注冊商標。

最後更新於 2026-08-03 UTC。

Android 參考資料。android.app.RemoteInput.Builder.setLabel

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

適用於

SetLabel(String)

設定一個標籤,讓使用者在收集這些輸入時會顯示。

public Android.App.RemoteInput.Builder SetLabel(string? label);
member this.SetLabel : string -> Android.App.RemoteInput.Builder

參數

label
String

CharSequence:使用者輸入回應時顯示的標籤。 這個值可能是 Null。

傳回

此物件用於方法鏈結。 這個值不可能為零值。

備註

設定一個標籤,讓使用者在收集這些輸入時會顯示。

本頁內容與程式碼範例受內容授權條款所規範。 Java 和 OpenJDK 是 Oracle 和/或其關係企業的商標或注冊商標。

最後更新於 2026-08-03 UTC。

Android 參考資料。android.app.RemoteInput.Builder.setLabel

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

適用於