TapEvent


class TapEvent


An input event received by the watch face.

use Watch Face Format instead

Summary

Public constructors

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

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public functions

open operator Boolean
equals(other: Any?)

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

open Int

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

open String

This function is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public properties

Instant

This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Int

This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Int

This property is deprecated. AndroidX watchface libraries are deprecated, use Watch Face Format instead.

Public constructors

TapEvent

Added in 1.0.0
Deprecated in 1.3.0-alpha06
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
Deprecated in 1.3.0-alpha06
val tapTimeInstant

The Instant at which the tap event occurred

xPos

Added in 1.0.0
Deprecated in 1.3.0-alpha06
val xPosInt

X coordinate of the event

yPos

Added in 1.0.0
Deprecated in 1.3.0-alpha06
val yPosInt

Y coordinate of the event