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
Name | Type |
---|---|
url |
string
|
allow_focus |
bool
|
args |
vector<string>?
|
Response
Name | Type |
---|---|
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
Name | Type |
---|---|
url |
string
|
provider |
fuchsia.ui.app/ViewProvider
|
Response
Name | Type |
---|---|
key |
uint32
|
ListTiles
Returns a list of tiles.
Request
<EMPTY>
Response
Name | Type |
---|---|
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
Name | Type |
---|---|
key |
uint32
|