語言

RemoteViews.SetContentDescription 方法

定義

多載

名稱 Description
SetContentDescription(Int32, ICharSequence)

等同於呼叫 View。

SetContentDescription(Int32, String)

等同於呼叫 View。

SetContentDescription(Int32, ICharSequence)

等同於呼叫 View。

[Android.Runtime.Register("setContentDescription", "(ILjava/lang/CharSequence;)V", "GetSetContentDescription_ILjava_lang_CharSequence_Handler")]
public virtual void SetContentDescription(int viewId, Java.Lang.ICharSequence? contentDescription);
[<Android.Runtime.Register("setContentDescription", "(ILjava/lang/CharSequence;)V", "GetSetContentDescription_ILjava_lang_CharSequence_Handler")>]
abstract member SetContentDescription : int * Java.Lang.ICharSequence -> unit
override this.SetContentDescription : int * Java.Lang.ICharSequence -> unit

參數

viewId
Int32

內容描述應該變更的視圖的 ID。

contentDescription
ICharSequence

視角的新內容說明。

屬性

備註

Java 文件 android.widget.RemoteViews.setContentDescription(int, java.lang.CharSequence)

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

適用於

SetContentDescription(Int32, String)

等同於呼叫 View。

public void SetContentDescription(int viewId, string? contentDescription);
member this.SetContentDescription : int * string -> unit

參數

viewId
Int32

內容描述應該變更的視圖的 ID。

contentDescription
String

視角的新內容說明。

備註

Java 文件 android.widget.RemoteViews.setContentDescription(int, java.lang.CharSequence)

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

適用於