public final class

EventBuilders.TileAddEvent.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.EventBuilders.TileAddEvent.Builder

Overview

Builder for EventBuilders.TileAddEvent

Summary

Constructors
publicBuilder()

Creates an instance of EventBuilders.TileAddEvent.Builder.

Methods
public EventBuilders.TileAddEventbuild()

Builds an instance from accumulated values.

public EventBuilders.TileAddEvent.BuildersetTileId(int tileId)

Sets 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

Constructors

public Builder()

Creates an instance of EventBuilders.TileAddEvent.Builder.

Methods

public EventBuilders.TileAddEvent.Builder setTileId(int tileId)

Sets 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.

Builds an instance from accumulated values.