Partager via


MediaRouter.UserRouteInfo.SetDescription Method

Definition

Overloads

SetDescription(ICharSequence)

Set the user-visible description of this route.

SetDescription(String)

Set the user-visible description of this route.

SetDescription(ICharSequence)

Set the user-visible description of this route.

[Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)V", "GetSetDescription_Ljava_lang_CharSequence_Handler")]
public virtual void SetDescription (Java.Lang.ICharSequence description);
[<Android.Runtime.Register("setDescription", "(Ljava/lang/CharSequence;)V", "GetSetDescription_Ljava_lang_CharSequence_Handler")>]
abstract member SetDescription : Java.Lang.ICharSequence -> unit
override this.SetDescription : Java.Lang.ICharSequence -> unit

Parameters

description
ICharSequence

The description of the route, or null if none.

Attributes

Remarks

Set the user-visible description of this route.

The route description describes the kind of destination represented by the route. It may be a user-supplied string, a model number or brand of device.

Java documentation for android.media.MediaRouter.UserRouteInfo.setDescription(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

SetDescription(String)

Set the user-visible description of this route.

public void SetDescription (string description);
member this.SetDescription : string -> unit

Parameters

description
String

The description of the route, or null if none.

Remarks

Set the user-visible description of this route.

The route description describes the kind of destination represented by the route. It may be a user-supplied string, a model number or brand of device.

Java documentation for android.media.MediaRouter.UserRouteInfo.setDescription(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