Udostępnij za pośrednictwem


Tile.State Property

Definition

The current state of the tile. -or- Sets the current state for the tile.

public Android.Service.QuickSettings.TileState State { [Android.Runtime.Register("getState", "()I", "", ApiSince=24)] get; [Android.Runtime.Register("setState", "(I)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getState", "()I", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setState", "(I)V", "", ApiSince=24)>]
member this.State : Android.Service.QuickSettings.TileState with get, set

Property Value

Attributes

Remarks

Property getter documentation:

The current state of the tile.

Java documentation for android.service.quicksettings.Tile.getState().

Property setter documentation:

Sets the current state for the tile.

Does not take effect until #updateTile() is called.

Java documentation for android.service.quicksettings.Tile.setState(int).

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