다음을 통해 공유


MediaRouter.RouteCategory.GetNameFormatted(Context) Method

Definition

Return the properly localized/configuration dependent name of this RouteCategory.

[Android.Runtime.Register("getName", "(Landroid/content/Context;)Ljava/lang/CharSequence;", "GetGetName_Landroid_content_Context_Handler")]
public virtual Java.Lang.ICharSequence GetNameFormatted (Android.Content.Context context);
[<Android.Runtime.Register("getName", "(Landroid/content/Context;)Ljava/lang/CharSequence;", "GetGetName_Landroid_content_Context_Handler")>]
abstract member GetNameFormatted : Android.Content.Context -> Java.Lang.ICharSequence
override this.GetNameFormatted : Android.Content.Context -> Java.Lang.ICharSequence

Parameters

context
Context

Context to resolve name resources

Returns

the name of this route category

Attributes

Remarks

Return the properly localized/configuration dependent name of this RouteCategory.

Java documentation for android.media.MediaRouter.RouteCategory.getName(android.content.Context).

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