Udostępnij za pośrednictwem


MediaRouter.UserRouteInfo.SetName Method

Definition

Overloads

SetName(ICharSequence)

Set the user-visible name of this route.

SetName(Int32)

Set the user-visible name of this route.

SetName(String)

Set the user-visible name of this route.

SetName(ICharSequence)

Set the user-visible name of this route.

[Android.Runtime.Register("setName", "(Ljava/lang/CharSequence;)V", "GetSetName_Ljava_lang_CharSequence_Handler")]
public virtual void SetName (Java.Lang.ICharSequence name);
[<Android.Runtime.Register("setName", "(Ljava/lang/CharSequence;)V", "GetSetName_Ljava_lang_CharSequence_Handler")>]
abstract member SetName : Java.Lang.ICharSequence -> unit
override this.SetName : Java.Lang.ICharSequence -> unit

Parameters

name
ICharSequence

Name to display to the user to describe this route

Attributes

Remarks

Set the user-visible name of this route.

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

SetName(Int32)

Set the user-visible name of this route.

[Android.Runtime.Register("setName", "(I)V", "GetSetName_IHandler")]
public virtual void SetName (int resId);
[<Android.Runtime.Register("setName", "(I)V", "GetSetName_IHandler")>]
abstract member SetName : int -> unit
override this.SetName : int -> unit

Parameters

resId
Int32

Resource ID of the name to display to the user to describe this route

Attributes

Remarks

Set the user-visible name of this route.

The route name identifies the destination represented by the route. It may be a user-supplied name, an alias, or device serial number.

Java documentation for android.media.MediaRouter.UserRouteInfo.setName(int).

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

SetName(String)

Set the user-visible name of this route.

public void SetName (string name);
member this.SetName : string -> unit

Parameters

name
String

Name to display to the user to describe this route

Remarks

Set the user-visible name of this route.

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