TileUpdateRequester


interface TileUpdateRequester


Interface used for a Tile Service to notify a Tile Renderer that it should fetch a new Timeline from it.

Summary

Public functions

Unit

Notify the Tile Renderer that it should fetch a new Timeline from this Tile Service.

Unit
requestUpdate(tileService: Class<TileService!>, tileId: Int)

Notify the Tile Renderer that it should fetch a new Timeline from this Tile Service for a specific tile id.

Public functions

requestUpdate

Added in 1.0.0
fun requestUpdate(tileService: Class<TileService!>): Unit

Notify the Tile Renderer that it should fetch a new Timeline from this Tile Service.

requestUpdate

Added in 1.6.0-alpha01
fun requestUpdate(tileService: Class<TileService!>, tileId: Int): Unit

Notify the Tile Renderer that it should fetch a new Timeline from this Tile Service for a specific tile id.

If sdk version is API 36 or lower, or the tile id is invalid (i.e. doesn't exist or is not owned by your package); tile id will be ignored and this method will be equivalent to requestUpdate.

Parameters
tileService: Class<TileService!>

The Tile Service to request an update from.

tileId: Int

The id of the tile to request an update from.