共用方式為


MediaRouter.CategoryCount Property

Definition

Return the number of MediaRouter.RouteCategory categories currently represented by routes known to this MediaRouter.

public virtual int CategoryCount { [Android.Runtime.Register("getCategoryCount", "()I", "GetGetCategoryCountHandler")] get; }
[<get: Android.Runtime.Register("getCategoryCount", "()I", "GetGetCategoryCountHandler")>]
member this.CategoryCount : int

Property Value

the number of unique categories represented by this MediaRouter's known routes

Attributes

Remarks

Return the number of MediaRouter.RouteCategory categories currently represented by routes known to this MediaRouter.

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

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