다음을 통해 공유


MediaRouter2.Controllers Property

Definition

Gets the list of currently active RoutingController routing controllers on which media can be played.

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

Property Value

Attributes

Remarks

Gets the list of currently active RoutingController routing controllers on which media can be played.

Note: The list returned here will never be empty. The first element in the list is always the #getSystemController() system controller.

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

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