public final class

EventBuilders.TileLeaveEvent.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.EventBuilders.TileLeaveEvent.Builder

Overview

Builder for EventBuilders.TileLeaveEvent

Summary

Constructors
publicBuilder()

Creates an instance of EventBuilders.TileAddEvent.Builder.

Methods
public EventBuilders.TileLeaveEventbuild()

Builds an instance from accumulated values.

public EventBuilders.TileLeaveEvent.BuildersetTileId(int tileId)

Sets 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

Constructors

public Builder()

Creates an instance of EventBuilders.TileAddEvent.Builder.

Methods

public EventBuilders.TileLeaveEvent.Builder setTileId(int tileId)

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

Builds an instance from accumulated values.