Freigeben über


MediaRouter.RouteInfo.GetName(Context) Method

Definition

Return the properly localized/resource user-visible name of this route.

public string GetName (Android.Content.Context context);
member this.GetName : Android.Content.Context -> string

Parameters

context
Context

Context used to resolve the correct configuration to load

Returns

The user-visible name of a media route. This is the string presented to users who may select this as the active route.

Remarks

Return the properly localized/resource 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.RouteInfo.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