EventBuilders.TileLeaveEvent.Builder


public final class EventBuilders.TileLeaveEvent.Builder


Builder for TileLeaveEvent

Summary

Public constructors

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

Creates an instance of Builder.

Public methods

@NonNull EventBuilders.TileLeaveEvent

Builds an instance from accumulated values.

@NonNull EventBuilders.TileLeaveEvent.Builder
setTileId(int tileId)

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)
public Builder()

Creates an instance of Builder.

Public methods

build

Added in 1.0.0
public @NonNull EventBuilders.TileLeaveEvent build()

Builds an instance from accumulated values.

setTileId

Added in 1.2.0
public @NonNull EventBuilders.TileLeaveEvent.Builder setTileId(int tileId)

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.