public final class

EventBuilders.TileEnterEvent

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.EventBuilders.TileEnterEvent

Overview

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

Summary

Methods
public static EventBuilders.TileEnterEventfromProto(EventProto.TileEnterEvent proto)

Creates a new wrapper instance from the proto.

public intgetTileId()

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

public EventProto.TileEnterEventtoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Methods

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.

Creates a new wrapper instance from the proto.

public EventProto.TileEnterEvent toProto()

Returns the internal proto instance.

public java.lang.String toString()