RemoteViews.SetContentDescription Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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.