public final class

EventProto.TileInteractionEvent

extends <any>

implements EventProto.TileInteractionEventOrBuilder

 java.lang.Object

↳<any>

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

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

Fields
public static final intENTER_FIELD_NUMBER

public static final intLEAVE_FIELD_NUMBER

public static final intTILE_ID_FIELD_NUMBER

public static final intTIMESTAMP_EPOCH_MILLIS_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static EventProto.TileInteractionEventgetDefaultInstance()

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 static EventProto.TileInteractionEvent.BuildernewBuilder()

public static EventProto.TileInteractionEvent.BuildernewBuilder(EventProto.TileInteractionEvent prototype)

public static EventProto.TileInteractionEventparseDelimitedFrom(java.io.InputStream input)

public static EventProto.TileInteractionEventparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEventparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEventparseFrom(java.nio.ByteBuffer data)

public static EventProto.TileInteractionEventparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEventparseFrom(com.google.protobuf.ByteString data)

public static EventProto.TileInteractionEventparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEventparseFrom(com.google.protobuf.CodedInputStream input)

public static EventProto.TileInteractionEventparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEventparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final int TILE_ID_FIELD_NUMBER

public static final int TIMESTAMP_EPOCH_MILLIS_FIELD_NUMBER

public static final int ENTER_FIELD_NUMBER

public static final int LEAVE_FIELD_NUMBER

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;

public EventProto.TileEnter getEnter()

 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;

public static EventProto.TileInteractionEvent parseFrom(java.nio.ByteBuffer data)

public static EventProto.TileInteractionEvent parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEvent parseFrom(com.google.protobuf.ByteString data)

public static EventProto.TileInteractionEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEvent parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEvent parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEvent parseDelimitedFrom(java.io.InputStream input)

public static EventProto.TileInteractionEvent parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEvent parseFrom(com.google.protobuf.CodedInputStream input)

public static EventProto.TileInteractionEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static EventProto.TileInteractionEvent.Builder newBuilder()

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static EventProto.TileInteractionEvent getDefaultInstance()

public static <any> parser()