public final class

EventBuilders.TileRemoveEvent

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.EventBuilders.TileRemoveEvent

Overview

Event fired when a tile has been removed from the carousel.

Summary

Methods
public static EventBuilders.TileRemoveEventfromProto(EventProto.TileRemoveEvent 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.TileRemoveEventtoProto()

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.

Returns the internal proto instance.

public java.lang.String toString()