共用方式為


Tile.StateActive 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 active.

[Android.Runtime.Register("STATE_ACTIVE", 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 StateActive = 2;
[<Android.Runtime.Register("STATE_ACTIVE", 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 StateActive : Android.Service.QuickSettings.TileState

Field Value

Value = 2

Implements

Attributes

Remarks

This represents a tile that is currently active. (e.g. wifi is connected, bluetooth is on, cast is casting). This is the default state.

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

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