Freigeben über


MediaRouteButton.RouteTypes Property

Definition

Gets the media route types for filtering the routes that the user can select using the media route chooser dialog. -or- Sets the types of routes that will be shown in the media route chooser dialog launched by this button.

public virtual Android.Media.MediaRouteType RouteTypes { [Android.Runtime.Register("getRouteTypes", "()I", "GetGetRouteTypesHandler")] get; [Android.Runtime.Register("setRouteTypes", "(I)V", "GetSetRouteTypes_IHandler")] set; }
[<get: Android.Runtime.Register("getRouteTypes", "()I", "GetGetRouteTypesHandler")>]
[<set: Android.Runtime.Register("setRouteTypes", "(I)V", "GetSetRouteTypes_IHandler")>]
member this.RouteTypes : Android.Media.MediaRouteType with get, set

Property Value

The route types.

Attributes

Remarks

Property getter documentation:

Gets the media route types for filtering the routes that the user can select using the media route chooser dialog.

Java documentation for android.app.MediaRouteButton.getRouteTypes().

Property setter documentation:

Sets the types of routes that will be shown in the media route chooser dialog launched by this button.

Java documentation for android.app.MediaRouteButton.setRouteTypes(int).

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