RoutingSessionInfo.SelectableRoutes Property

Definition

Gets the list of IDs of selectable routes for the session.

public System.Collections.Generic.IList<string> SelectableRoutes { [Android.Runtime.Register("getSelectableRoutes", "()Ljava/util/List;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getSelectableRoutes", "()Ljava/util/List;", "", ApiSince=30)>]
member this.SelectableRoutes : System.Collections.Generic.IList<string>

Property Value

A possibly empty list of selectable route ids.

Attributes

Remarks

Gets the list of IDs of selectable routes for the session.

Selectable routes can be added to a routing session (via MediaRouter2.RoutingController#selectRoute) in order to add them to the #getSelectedRoutes() selected routes, so that media plays on the newly selected route along with the other selected routes.

Not to be confused with #getTransferableRoutes() transferable routes. Transferring to a route makes it the sole selected route.

Java documentation for android.media.RoutingSessionInfo.getSelectableRoutes().

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