RouteListingPreferenceFlags Enum
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.
This enumeration supports a bitwise combination of its member values.
[System.Flags]
public enum RouteListingPreferenceFlags
[<System.Flags>]
type RouteListingPreferenceFlags =
- Inheritance
-
RouteListingPreferenceFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | |
| OngoingSession | 1 | The corresponding route is already hosting a session with the app that owns this listing preference. Android reference for 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. |
| OngoingSessionManaged | 2 | Signals that the ongoing session on the corresponding route is managed by the current user of the app. The system can use this flag to provide visual indication that the route is not only hosting a session, but also that the user has ownership over said session. This flag is ignored if FLAG_ONGOING_SESSION is not set, or if the corresponding route is not currently selected. This flag does not affect volume adjustment (see VolumeProvider, and MediaRoute2Info.getVolumeHandling() ), or any aspect other than the visual representation of the corresponding item. Android reference for 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. |
| Suggested | 4 | The corresponding route is specially likely to be selected by the user. A UI reflecting this preference may reserve a specific space for suggested routes, making it more accessible to the user. If the number of suggested routes exceeds the number supported by the UI, the routes listed first in RouteListingPreference.getItems() will take priority. Android reference for 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. |