MediaRouter2.Routes Property

Definition

Gets the unmodifiable list of MediaRoute2Info routes currently known to the media router.

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

Property Value

the list of routes that contains at least one of the route features in discovery preferences registered by the application

Attributes

Remarks

Gets the unmodifiable list of MediaRoute2Info routes currently known to the media router.

Please note that the list can be changed before callbacks are invoked.

Java documentation for android.media.MediaRouter2.getRoutes().

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