Language

MediaRoute2Info.Builder.SetType(MediaRoute2Type) Method

Definition

Sets the route's type.

[Android.Runtime.Register("setType", "(I)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=34)]
public Android.Media.MediaRoute2Info.Builder SetType(Android.Media.MediaRoute2Type type);
[<Android.Runtime.Register("setType", "(I)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=34)>]
member this.SetType : Android.Media.MediaRoute2Type -> Android.Media.MediaRoute2Info.Builder

Parameters

Returns

A route builder with the supplied route type recorded.

Attributes

Remarks

Sets the route's type.

Android reference for android.media.MediaRoute2Info.Builder.setType.

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