# fuchsia.developer.tiles

<br />

Deprecated: 13 Added: 7

## **PROTOCOLS**

## Controller

*Defined in [fuchsia.developer.tiles/tiles.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:sdk/fidl/fuchsia.developer.tiles/tiles.fidl;l=11)*

### 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` | `client_end:https://fuchsia.dev/reference/fuchsia.ui.app//https://fuchsia.dev/reference/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<https://fuchsia.dev/reference/fuchsia.ui.gfx//https://fuchsia.dev/reference/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` |