Language

MediaRoute2Info.Builder.AddFeatures(ICollection<String>) Method

Definition

Adds features for the route.

[Android.Runtime.Register("addFeatures", "(Ljava/util/Collection;)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)]
public Android.Media.MediaRoute2Info.Builder AddFeatures(System.Collections.Generic.ICollection<string> features);
[<Android.Runtime.Register("addFeatures", "(Ljava/util/Collection;)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)>]
member this.AddFeatures : System.Collections.Generic.ICollection<string> -> Android.Media.MediaRoute2Info.Builder

Parameters

features
ICollection<String>

features that the route has. May include predefined features such as MediaRoute2Info.FEATURE_LIVE_AUDIO, MediaRoute2Info.FEATURE_LIVE_VIDEO or MediaRoute2Info.FEATURE_REMOTE_PLAYBACK or custom features defined by a provider. This value cannot be null.

Returns

Attributes

Remarks

Adds features for the route. A route must support at least one route type.

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

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