public final class

EventProto.TileAddEvent.Builder

extends <any>

implements EventProto.TileAddEventOrBuilder

 java.lang.Object

↳<any>

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

Overview

 Event fired when a tile has been added to the carousel.
 
Protobuf type androidx.wear.tiles.proto.TileAddEvent

Summary

Methods
public EventProto.TileAddEvent.BuilderclearTileId()

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

public intgetTileId()

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

public EventProto.TileAddEvent.BuildersetTileId(int value)

 Instance ID of the added tile, allocated when the tile instance was 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 added tile, allocated when the tile instance was 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.TileAddEvent.Builder setTileId(int value)

 Instance ID of the added tile, allocated when the tile instance was 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.

public EventProto.TileAddEvent.Builder clearTileId()

 Instance ID of the added tile, allocated when the tile instance was 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.