Java android.service.quicksettings Tile fields, constructors, methods, implement or subclass

Example usage for Java android.service.quicksettings Tile fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.service.quicksettings Tile.

The text is from its open source code.

Field

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

Method

voidsetIcon(Icon icon)
Sets the current icon for the tile.
voidsetLabel(CharSequence label)
Sets the current label for the tile.
voidsetState(int state)
Sets the current state for the tile.
voidupdateTile()
Pushes the state of the Tile to Quick Settings to be displayed.