Share via


RouteListingPreference.Item.FlagOngoingSessionManaged Field

Definition

Caution

This constant will be removed in the future version. Use Android.Media.RouteListingPreferenceFlags enum directly instead of this field.

Signals that the ongoing session on the corresponding route is managed by the current user of the app.

[Android.Runtime.Register("FLAG_ONGOING_SESSION_MANAGED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Media.RouteListingPreferenceFlags enum directly instead of this field.", true)]
public const Android.Media.RouteListingPreferenceFlags FlagOngoingSessionManaged = 2;
[<Android.Runtime.Register("FLAG_ONGOING_SESSION_MANAGED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Media.RouteListingPreferenceFlags enum directly instead of this field.", true)>]
val mutable FlagOngoingSessionManaged : Android.Media.RouteListingPreferenceFlags

Field Value

Value = 2

Implements

Attributes

Remarks

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.

Java documentation for android.media.RouteListingPreference.Item.FLAG_ONGOING_SESSION_MANAGED.

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