次の方法で共有


MediaRouter2.RoutingController.DeselectRoute(MediaRoute2Info) Method

Definition

Deselects a route from the remote session.

[Android.Runtime.Register("deselectRoute", "(Landroid/media/MediaRoute2Info;)V", "GetDeselectRoute_Landroid_media_MediaRoute2Info_Handler", ApiSince=30)]
public virtual void DeselectRoute (Android.Media.MediaRoute2Info route);
[<Android.Runtime.Register("deselectRoute", "(Landroid/media/MediaRoute2Info;)V", "GetDeselectRoute_Landroid_media_MediaRoute2Info_Handler", ApiSince=30)>]
abstract member DeselectRoute : Android.Media.MediaRoute2Info -> unit
override this.DeselectRoute : Android.Media.MediaRoute2Info -> unit

Parameters

Attributes

Remarks

Deselects a route from the remote session. After a route is deselected, the media is expected to be stopped on the deselected route.

The given route must satisfy all of the following conditions:

<ul> <li>It should be included in #getSelectedRoutes()<li>It should be included in #getDeselectableRoutes()</ul>

If the route doesn't meet any of above conditions, it will be ignored.

Java documentation for android.media.MediaRouter2.RoutingController.deselectRoute(android.media.MediaRoute2Info).

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