public final class

EventBuilders.TileLeaveEvent

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.EventBuilders.TileLeaveEvent

Overview

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

Summary

Methods
public static EventBuilders.TileLeaveEventfromProto(EventProto.TileLeaveEvent 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.TileLeaveEventtoProto()

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.TileLeaveEvent toProto()

Returns the internal proto instance.

public java.lang.String toString()