public interface

EventProto.TileInteractionEventOrBuilder

 androidx.wear.tiles.proto.EventProto.TileInteractionEventOrBuilder

Subclasses:

EventProto.TileInteractionEvent, EventProto.TileInteractionEvent.Builder

Summary

Methods
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

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 long getTimestampEpochMillis()

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

Returns:

The timestampEpochMillis.

public boolean hasEnter()

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

Returns:

Whether the enter field is set.

public EventProto.TileEnter getEnter()

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

Returns:

The enter.

public boolean hasLeave()

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

Returns:

Whether the leave field is set.

public EventProto.TileLeave getLeave()

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

Returns:

The leave.