EventBuilders.TileRemoveEvent.Builder


public final class EventBuilders.TileRemoveEvent.Builder


Builder for TileRemoveEvent

Summary

Public constructors

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

Creates an instance of Builder.

Public methods

@NonNull EventBuilders.TileRemoveEvent

Builds an instance from accumulated values.

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

Sets instance ID of the removed tile, allocated when the tile instance was 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.TileRemoveEvent build()

Builds an instance from accumulated values.

setTileId

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

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