Android.Media.MediaRouter.SelectRoute Method
Select the specified route to use for output of the given media types.

Syntax

[Android.Runtime.Register("selectRoute", "(ILandroid/media/MediaRouter$RouteInfo;)V", "GetSelectRoute_ILandroid_media_MediaRouter_RouteInfo_Handler")]
public virtual void SelectRoute ([Android.Runtime.GeneratedEnum] MediaRouteType types, MediaRouter.RouteInfo route)

Parameters

types
type flags indicating which types this route should be used for. The route must support at least a subset.
route
Route to select

Remarks

Select the specified route to use for output of the given media types.

As API version 18, this function may be used to select any route. In prior versions, this function could only be used to select user routes and would ignore any attempt to select a system route.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16