RouteListingPreference.Item.FlagOngoingSessionManaged 字段

定义

注意

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

指示相应路由上的持续会话由应用的当前用户管理。

[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

字段值

Value = 2

实现

属性

注解

指示相应路由上的持续会话由应用的当前用户管理。

系统可以使用此标志提供视觉指示,指示路由不仅托管会话,而且表示用户拥有对上述会话的所有权。

如果未 #FLAG_ONGOING_SESSION 设置,或者当前未选择相应的路由,则忽略此标志。

此标志不会影响音量调整(请参阅 VolumeProviderMediaRoute2Info#getVolumeHandling()),或相应项的可视表示形式以外的任何方面。

适用于 . 的 android.media.RouteListingPreference.Item.FLAG_ONGOING_SESSION_MANAGEDJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于