EventBuilders.TileLeaveEvent.Builder


class EventBuilders.TileLeaveEvent.Builder


Builder for TileLeaveEvent

Summary

Public constructors

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

Creates an instance of Builder.

Public functions

EventBuilders.TileLeaveEvent

Builds an instance from accumulated values.

EventBuilders.TileLeaveEvent.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.TileLeaveEvent

Builds an instance from accumulated values.

setTileId

Added in 1.2.0
fun setTileId(tileId: Int): EventBuilders.TileLeaveEvent.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.