Sdílet prostřednictvím


Tile.StateInactive Field

Definition

Caution

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

This represents a tile that is currently in a disabled state but is still interactable.

[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

Field Value

Value = 1

Implements

Attributes

Remarks

This represents a tile that is currently in a disabled state but is still interactable.

A disabled state indicates that the tile is not currently active (e.g. wifi disconnected or bluetooth disabled), but is still interactable by the user to modify this state. Tiles that have boolean states should use this to represent one of their states. The tile's icon will be tinted differently to reflect this state, but still be distinct from unavailable.

Java documentation for android.service.quicksettings.Tile.STATE_INACTIVE.

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