replaceTiles

open override fun replaceTiles(tileSchemas: List<TileSchema>): Result<Unit>

Replaces every top-level root tile with tileSchemas — the current root children are wiped first, then tileSchemas is added in full.

Parameters

tileSchemas

the new set of root tiles.


open override fun replaceTiles(tileSchemas: List<TileSchema>, groupingTileId: String): Result<Unit>

Replaces every child of the container tile identified by groupingTileId with tileSchemas — that container's current children are wiped first, then tileSchemas is added in full.

Parameters

tileSchemas

the new set of children.

groupingTileId

id of the container tile whose children are being replaced.