EventBuilders.TileAddEvent.Builder


class EventBuilders.TileAddEvent.Builder


Builder for TileAddEvent

Summary

Public constructors

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

Creates an instance of Builder.

Public functions

EventBuilders.TileAddEvent

Builds an instance from accumulated values.

EventBuilders.TileAddEvent.Builder
setTileId(tileId: Int)

Sets instance ID of the added tile, allocated when the tile instance was 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.TileAddEvent

Builds an instance from accumulated values.

setTileId

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

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