EventBuilders.TileEnterEvent.Builder


class EventBuilders.TileEnterEvent.Builder


Builder for TileEnterEvent

Summary

Public constructors

@RequiresSchemaVersion(major = 1, minor = 0)
Builder()

Creates an instance of Builder.

Public functions

EventBuilders.TileEnterEvent

Builds an instance from accumulated values.

EventBuilders.TileEnterEvent.Builder
setTileId(tileId: Int)

Sets instance ID of the tile, allocated when the tile instance is added to the carousel.

Public constructors

Builder

Added in 1.0.0
@RequiresSchemaVersion(major = 1, minor = 0)
Builder()

Creates an instance of Builder.

Public functions

build

Added in 1.0.0
fun build(): EventBuilders.TileEnterEvent

Builds an instance from accumulated values.

setTileId

Added in 1.2.0
fun setTileId(tileId: Int): EventBuilders.TileEnterEvent.Builder

Sets instance ID of the tile, allocated when the tile instance is added to the carousel. This ID will remain the same for this tile instance as long it is not removed from the carousel.