Share via


RemoteViews.SetContentDescription Method

Definition

Overloads

SetContentDescription(Int32, ICharSequence)

Equivalent to calling View.

SetContentDescription(Int32, String)

Equivalent to calling View.

SetContentDescription(Int32, ICharSequence)

Equivalent to calling 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

Parameters

viewId
Int32

The id of the view whose content description should change.

contentDescription
ICharSequence

The new content description for the view.

Attributes

Remarks

Java documentation for android.widget.RemoteViews.setContentDescription(int, java.lang.CharSequence).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SetContentDescription(Int32, String)

Equivalent to calling View.

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

Parameters

viewId
Int32

The id of the view whose content description should change.

contentDescription
String

The new content description for the view.

Remarks

Java documentation for android.widget.RemoteViews.setContentDescription(int, java.lang.CharSequence).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to