Tile.StateInactive 字段

定义

注意

This constant will be removed in the future version. Use Android.Service.QuickSettings.TileState enum directly instead of this field.

这表示当前处于禁用状态但仍可交互的磁贴。

[Android.Runtime.Register("STATE_INACTIVE", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Service.QuickSettings.TileState enum directly instead of this field.", true)]
public const Android.Service.QuickSettings.TileState StateInactive = 1;
[<Android.Runtime.Register("STATE_INACTIVE", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.QuickSettings.TileState enum directly instead of this field.", true)>]
val mutable StateInactive : Android.Service.QuickSettings.TileState

字段值

Value = 1

实现

属性

注解

这表示当前处于禁用状态但仍可交互的磁贴。

禁用状态表示磁贴当前未处于活动状态(例如 wifi 断开连接或蓝牙已禁用),但仍可由用户交互以修改此状态。 具有布尔状态的磁贴应使用此图块来表示其状态之一。 磁贴的图标会以不同的方式着色以反映此状态,但仍与不可用不同。

适用于 . 的 android.service.quicksettings.Tile.STATE_INACTIVEJava 文档

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

适用于