MediaRouter.GetSelectedRoute(MediaRouteType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
the selected route
- Attributes
Remarks
Return the currently selected route for any of the given types
Android reference for android.media.MediaRouter.getSelectedRoute.
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.