MediaRouter.SelectRoute(MediaRouteType, MediaRouter+RouteInfo) 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.
Select the specified route to use for output of the given media types.
[Android.Runtime.Register("selectRoute", "(ILandroid/media/MediaRouter$RouteInfo;)V", "GetSelectRoute_ILandroid_media_MediaRouter_RouteInfo_Handler")]
public virtual void SelectRoute (Android.Media.MediaRouteType types, Android.Media.MediaRouter.RouteInfo route);
[<Android.Runtime.Register("selectRoute", "(ILandroid/media/MediaRouter$RouteInfo;)V", "GetSelectRoute_ILandroid_media_MediaRouter_RouteInfo_Handler")>]
abstract member SelectRoute : Android.Media.MediaRouteType * Android.Media.MediaRouter.RouteInfo -> unit
override this.SelectRoute : Android.Media.MediaRouteType * Android.Media.MediaRouter.RouteInfo -> unit
Parameters
- types
- MediaRouteType
type flags indicating which types this route should be used for. The route must support at least a subset.
- route
- MediaRouter.RouteInfo
Route to select
- Attributes
Exceptions
if the given route is null
Remarks
Java documentation for android.media.MediaRouter.selectRoute(int, android.media.RouteInfo)
.
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.