public final class

EventProto.TileEnterEvent.Builder

extends <any>

implements EventProto.TileEnterEventOrBuilder

 java.lang.Object

↳<any>

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

Overview

 Event fired when a tile is swiped to by the user (i.e. it's visible on
 screen).
 
Protobuf type androidx.wear.tiles.proto.TileEnterEvent

Summary

Methods
public EventProto.TileEnterEvent.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.TileEnterEvent.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.TileEnterEvent.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.