Share via


TileService.MetaDataToggleableTile Field

Definition

Meta-data for a tile to mark is toggleable.

[Android.Runtime.Register("META_DATA_TOGGLEABLE_TILE", ApiSince=30)]
public const string MetaDataToggleableTile;
[<Android.Runtime.Register("META_DATA_TOGGLEABLE_TILE", ApiSince=30)>]
val mutable MetaDataToggleableTile : string

Field Value

Attributes

Remarks

Meta-data for a tile to mark is toggleable.

Toggleable tiles support switch tile behavior in accessibility. This is the behavior of most of the framework tiles.

To indicate that a TileService is toggleable, set this meta-data to true on the TileService's manifest declaration.

{@literal
<meta-data android:name="android.service.quicksettings.TOGGLEABLE_TILE"
                 android:value="true" />
            }

Java documentation for android.service.quicksettings.TileService.META_DATA_TOGGLEABLE_TILE.

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