class TapEvent


An input event received by the watch face.

Summary

Public constructors

TapEvent(xPos: @Px Int, yPos: @Px Int, tapTime: Instant)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Instant

The Instant at which the tap event occurred

Int

X coordinate of the event

Int

Y coordinate of the event

Public constructors

TapEvent

Added in 1.0.0
TapEvent(xPos: @Px Int, yPos: @Px Int, tapTime: Instant)
Parameters
xPos: @Px Int

X coordinate of the event

yPos: @Px Int

Y coordinate of the event

tapTime: Instant

The Instant at which the tap event occurred

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

tapTime

Added in 1.0.0
val tapTimeInstant

The Instant at which the tap event occurred

xPos

Added in 1.0.0
val xPosInt

X coordinate of the event

yPos

Added in 1.0.0
val yPosInt

Y coordinate of the event