Sdílet prostřednictvím


MediaRouter.GetSelectedRoute(MediaRouteType) Method

Definition

Return the currently selected route for any of the given types

[Android.Runtime.Register("getSelectedRoute", "(I)Landroid/media/MediaRouter$RouteInfo;", "GetGetSelectedRoute_IHandler")]
public virtual Android.Media.MediaRouter.RouteInfo? GetSelectedRoute (Android.Media.MediaRouteType type);
[<Android.Runtime.Register("getSelectedRoute", "(I)Landroid/media/MediaRouter$RouteInfo;", "GetGetSelectedRoute_IHandler")>]
abstract member GetSelectedRoute : Android.Media.MediaRouteType -> Android.Media.MediaRouter.RouteInfo
override this.GetSelectedRoute : Android.Media.MediaRouteType -> Android.Media.MediaRouter.RouteInfo

Parameters

type
MediaRouteType

route types

Returns

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