Partager via


ViewStructure.SetContentDescription Method

Definition

Overloads

SetContentDescription(ICharSequence)

Set the content description of the view, as per View#getContentDescription View.getContentDescription().

SetContentDescription(String)

Set the content description of the view, as per View#getContentDescription View.getContentDescription().

SetContentDescription(ICharSequence)

Set the content description of the view, as per View#getContentDescription View.getContentDescription().

[Android.Runtime.Register("setContentDescription", "(Ljava/lang/CharSequence;)V", "GetSetContentDescription_Ljava_lang_CharSequence_Handler", ApiSince=23)]
public abstract void SetContentDescription (Java.Lang.ICharSequence? contentDescription);
[<Android.Runtime.Register("setContentDescription", "(Ljava/lang/CharSequence;)V", "GetSetContentDescription_Ljava_lang_CharSequence_Handler", ApiSince=23)>]
abstract member SetContentDescription : Java.Lang.ICharSequence -> unit

Parameters

contentDescription
ICharSequence
Attributes

Remarks

Set the content description of the view, as per View#getContentDescription View.getContentDescription().

Java documentation for android.view.ViewStructure.setContentDescription(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(String)

Set the content description of the view, as per View#getContentDescription View.getContentDescription().

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

Parameters

contentDescription
String

Remarks

Set the content description of the view, as per View#getContentDescription View.getContentDescription().

Java documentation for android.view.ViewStructure.setContentDescription(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