fuchsia.developer.tiles

Deprecated: 13 Added: 7

PROTOCOLS

Controller

Defined in fuchsia.developer.tiles/tiles.fidl

AddTileFromURL

Instantiates a component by its URL and adds a tile backed by that component's ViewProvider. Returns a key for the tile that can be used for resizing or removing the tile, or 0 on failure.

Request

NameType
url string
allow_focus bool
args vector<string>?

Response

NameType
key uint32

AddTileFromViewProvider

Adds a tile backed by a view from the view provider. Returns a key for the tile that can be used for resizing or removing the tile, or 0 on failure.

Request

NameType
url string
provider fuchsia.ui.app/ViewProvider

Response

NameType
key uint32

ListTiles

Returns a list of tiles.

Request

<EMPTY>

Response

NameType
keys vector<uint32>
urls vector<string>
sizes vector<fuchsia.ui.gfx/vec3>
focusabilities vector<bool>

Quit

Asks the tiles component to quit.

Request

<EMPTY>

RemoveTile

Removes the tile with the given key.

Request

NameType
key uint32