語言

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斷線或藍牙停用),但使用者仍可互動以修改此狀態。 具有布林狀態的磚塊應該用它來代表其中一個狀態。 圖示的圖示會以不同色調反映此狀態,但仍能與不可用區分。

Java 文件 android.service.quicksettings.Tile.STATE_INACTIVE。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於