EventBuilders.TileEnterEvent


@RequiresSchemaVersion(major = 1, minor = 0)
public final class EventBuilders.TileEnterEvent


Event fired when a tile is swiped to by the user (i.e. it's visible on screen).

Summary

Nested types

Builder for TileEnterEvent

Public methods

int

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

@NonNull String

Public methods

getTileId

Added in 1.2.0
public int getTileId()

Gets the 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.

toString

public @NonNull String toString()