Sdílet prostřednictvím


MediaRouter2.GetRouteListingPreference Method

Definition

Returns the current RouteListingPreference of the target router.

[Android.Runtime.Register("getRouteListingPreference", "()Landroid/media/RouteListingPreference;", "", ApiSince=35)]
public Android.Media.RouteListingPreference? GetRouteListingPreference ();
[<Android.Runtime.Register("getRouteListingPreference", "()Landroid/media/RouteListingPreference;", "", ApiSince=35)>]
member this.GetRouteListingPreference : unit -> Android.Media.RouteListingPreference

Returns

Attributes

Remarks

Returns the current RouteListingPreference of the target router.

If this instance was created using #getInstance(Context, String), then it returns the last RouteListingPreference set by the process this router was created for.

Java documentation for android.media.MediaRouter2.getRouteListingPreference().

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