public final class

EventProto.TileLeaveEvent.Builder

extends <any>

implements EventProto.TileLeaveEventOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.tiles.proto.EventProto.TileLeaveEvent.Builder

Overview

 Event fired when a tile is swiped away from by the user (i.e. it's no longer
 visible on screen).
 
Protobuf type androidx.wear.tiles.proto.TileLeaveEvent

Summary

Methods
public EventProto.TileLeaveEvent.BuilderclearTileId()

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

public intgetTileId()

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

public EventProto.TileLeaveEvent.BuildersetTileId(int value)

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

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

Methods

public int getTileId()

 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.
 
uint32 tile_id = 1;

Returns:

The tileId.

public EventProto.TileLeaveEvent.Builder setTileId(int value)

 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.
 
uint32 tile_id = 1;

Parameters:

value: The tileId to set.

Returns:

This builder for chaining.

 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.
 
uint32 tile_id = 1;

Returns:

This builder for chaining.