MediaRouteActionProvider.SetRouteTypes(MediaRouteType) Method

Definition

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

[Android.Runtime.Register("setRouteTypes", "(I)V", "GetSetRouteTypes_IHandler")]
public virtual void SetRouteTypes (Android.Media.MediaRouteType types);
[<Android.Runtime.Register("setRouteTypes", "(I)V", "GetSetRouteTypes_IHandler")>]
abstract member SetRouteTypes : Android.Media.MediaRouteType -> unit
override this.SetRouteTypes : Android.Media.MediaRouteType -> unit

Parameters

types
MediaRouteType

The route types to match.

Attributes

Remarks

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

Java documentation for android.app.MediaRouteActionProvider.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