EventBuilders.TileLeaveEvent


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


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

Summary

Nested types

Builder for TileLeaveEvent

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