共用方式為


MediaRouter.RouteCount Property

Definition

Return the number of MediaRouter.RouteInfo routes currently known to this MediaRouter.

public virtual int RouteCount { [Android.Runtime.Register("getRouteCount", "()I", "GetGetRouteCountHandler")] get; }
[<get: Android.Runtime.Register("getRouteCount", "()I", "GetGetRouteCountHandler")>]
member this.RouteCount : int

Property Value

the number of routes tracked by this router

Attributes

Remarks

Return the number of MediaRouter.RouteInfo routes currently known to this MediaRouter.

Java documentation for android.media.MediaRouter.getRouteCount().

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