public final class

EventProto.TileInteractionEvent.Builder

extends <any>

implements EventProto.TileInteractionEventOrBuilder

 java.lang.Object

↳<any>

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

Overview

 Event reported when a user interacts with a tile (e.g. entering or leaving a tile).
 
Protobuf type androidx.wear.tiles.proto.TileInteractionEvent

Summary

Methods
public EventProto.TileInteractionEvent.BuilderclearEnter()

 Enter event

public EventProto.TileInteractionEvent.BuilderclearInner()

public EventProto.TileInteractionEvent.BuilderclearLeave()

 Leave event

public EventProto.TileInteractionEvent.BuilderclearTileId()

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

public EventProto.TileInteractionEvent.BuilderclearTimestampEpochMillis()

 The timestamp of when the interaction was reported.

public EventProto.TileEntergetEnter()

 Enter event

public EventProto.TileInteractionEvent.InnerCasegetInnerCase()

public EventProto.TileLeavegetLeave()

 Leave event

public intgetTileId()

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

public longgetTimestampEpochMillis()

 The timestamp of when the interaction was reported.

public booleanhasEnter()

 Enter event

public booleanhasLeave()

 Leave event

public EventProto.TileInteractionEvent.BuildermergeEnter(EventProto.TileEnter value)

 Enter event

public EventProto.TileInteractionEvent.BuildermergeLeave(EventProto.TileLeave value)

 Leave event

public EventProto.TileInteractionEvent.BuildersetEnter(EventProto.TileEnter.Builder builderForValue)

 Enter event

public EventProto.TileInteractionEvent.BuildersetEnter(EventProto.TileEnter value)

 Enter event

public EventProto.TileInteractionEvent.BuildersetLeave(EventProto.TileLeave.Builder builderForValue)

 Leave event

public EventProto.TileInteractionEvent.BuildersetLeave(EventProto.TileLeave value)

 Leave event

public EventProto.TileInteractionEvent.BuildersetTileId(int value)

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

public EventProto.TileInteractionEvent.BuildersetTimestampEpochMillis(long value)

 The timestamp of when the interaction was reported.

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

public long getTimestampEpochMillis()

 The timestamp of when the interaction was reported.
 
uint64 timestamp_epoch_millis = 2;

Returns:

The timestampEpochMillis.

public EventProto.TileInteractionEvent.Builder setTimestampEpochMillis(long value)

 The timestamp of when the interaction was reported.
 
uint64 timestamp_epoch_millis = 2;

Parameters:

value: The timestampEpochMillis to set.

Returns:

This builder for chaining.

public EventProto.TileInteractionEvent.Builder clearTimestampEpochMillis()

 The timestamp of when the interaction was reported.
 
uint64 timestamp_epoch_millis = 2;

Returns:

This builder for chaining.

public boolean hasEnter()

 Enter event
 
.androidx.wear.tiles.proto.TileEnter enter = 3;

public EventProto.TileEnter getEnter()

 Enter event
 
.androidx.wear.tiles.proto.TileEnter enter = 3;

 Enter event
 
.androidx.wear.tiles.proto.TileEnter enter = 3;

 Enter event
 
.androidx.wear.tiles.proto.TileEnter enter = 3;

 Enter event
 
.androidx.wear.tiles.proto.TileEnter enter = 3;

 Enter event
 
.androidx.wear.tiles.proto.TileEnter enter = 3;

public boolean hasLeave()

 Leave event
 
.androidx.wear.tiles.proto.TileLeave leave = 4;

public EventProto.TileLeave getLeave()

 Leave event
 
.androidx.wear.tiles.proto.TileLeave leave = 4;

 Leave event
 
.androidx.wear.tiles.proto.TileLeave leave = 4;

 Leave event
 
.androidx.wear.tiles.proto.TileLeave leave = 4;

 Leave event
 
.androidx.wear.tiles.proto.TileLeave leave = 4;

 Leave event
 
.androidx.wear.tiles.proto.TileLeave leave = 4;