MediaRoute2Info.Builder.AddFeature(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a feature for the route.
[Android.Runtime.Register("addFeature", "(Ljava/lang/String;)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)]
public Android.Media.MediaRoute2Info.Builder AddFeature(string feature);
[<Android.Runtime.Register("addFeature", "(Ljava/lang/String;)Landroid/media/MediaRoute2Info$Builder;", "", ApiSince=30)>]
member this.AddFeature : string -> Android.Media.MediaRoute2Info.Builder
Parameters
- feature
- String
a feature that the route has. May be one of predefined features such as MediaRoute2Info.FEATURE_LIVE_AUDIO, MediaRoute2Info.FEATURE_LIVE_VIDEO or MediaRoute2Info.FEATURE_REMOTE_PLAYBACK or a custom feature defined by a provider. This value cannot be null.
Returns
- Attributes
Remarks
Adds a feature for the route.
Android reference for android.media.MediaRoute2Info.Builder.addFeature.
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.