次の方法で共有


RouteListingPreference.UseSystemOrdering Property

Definition

Returns true if the application would like media route listing to use the system's ordering strategy, or false if the application would like route listing to respect the ordering obtained from #getItems().

public bool UseSystemOrdering { [Android.Runtime.Register("getUseSystemOrdering", "()Z", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getUseSystemOrdering", "()Z", "", ApiSince=34)>]
member this.UseSystemOrdering : bool

Property Value

Attributes

Remarks

Returns true if the application would like media route listing to use the system's ordering strategy, or false if the application would like route listing to respect the ordering obtained from #getItems().

The system's ordering strategy is implementation-dependent, but may take into account each route's recency or frequency of use in order to rank them.

Java documentation for android.media.RouteListingPreference.getUseSystemOrdering().

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