Läs på engelska

Dela via


MediaRouter.SelectRoute(MediaRouteType, MediaRouter+RouteInfo) Method

Definition

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

C#
[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);

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.

Applies to

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35