java.lang.Object | |
↳ | com.datalogic.device.configuration.QuickSettingsTiles |
QuickSettingsTiles
provides information about the available tiles in the Quick Settings panel.
It offers methods to retrieve both system and custom tiles, as well as the correspondence
between the ID and the name for the tiles currently available on the device.
In particular, Android offers two types of tiles in the Quick Settings panel: System and App tiles.
System tiles are built into the Android operating system and provide essential device functionalities.
In contrast, App or Custom tiles offer quick access to functionalities provided by applications,
such as Google Mobile Services (GMS).
Therefore, they can be customized and added by installing third-party applications that provide this capability.
See QUICK_SETTINGS_PANEL_TILES
for more info about tiles.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves a map of all available custom tiles in the format
| |||||||||||
Retrieves a map of all available system tiles in the format
| |||||||||||
Retrieve the corresponding tile ID, given its name.
| |||||||||||
Retrieve the corresponding tile name, given its ID.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Retrieves a map of all available custom tiles in the format The format of the returned map is identical to that of
getAvailableSystemTiles(Context)
.
context | Context |
---|
Retrieves a map of all available system tiles in the format
For example, if the available system tiles are "Internet", "Bluetooth", and "Do Not Disturb",
the returned map would be:
{internet=Internet, bt=Bluetooth, dnd=Do Not Disturb}
.
context | Context |
---|
Retrieve the corresponding tile ID, given its name.
context | Context |
---|---|
name | String |
Retrieve the corresponding tile name, given its ID.
context | Context |
---|---|
id | String |