Share via


RouteDiscoveryPreference.PreferredFeatures Property

Definition

Gets the features of routes that media router would like to discover.

public System.Collections.Generic.IList<string> PreferredFeatures { [Android.Runtime.Register("getPreferredFeatures", "()Ljava/util/List;", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getPreferredFeatures", "()Ljava/util/List;", "", ApiSince=30)>]
member this.PreferredFeatures : System.Collections.Generic.IList<string>

Property Value

Attributes

Remarks

Gets the features of routes that media router would like to discover.

Routes that have at least one of the features will be discovered. They 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.

Java documentation for android.media.RouteDiscoveryPreference.getPreferredFeatures().

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