RemoteViews.SetContentDescription 方法

定义

重载

名称 说明
SetContentDescription(Int32, ICharSequence)

等效于调用视图。

SetContentDescription(Int32, String)

等效于调用视图。

SetContentDescription(Int32, ICharSequence)

等效于调用视图。

[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)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

SetContentDescription(Int32, String)

等效于调用视图。

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)

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于