Interaction

sealed class Interaction : Serializable

Represents a pointer interaction (such as a press, move, or release).

Inheritors

Types

Link copied to clipboard
data class LongPress(val point: Point) : Interaction

A long-press interaction.

Link copied to clipboard
data class Move(val point: Point) : Interaction

A move interaction.

Link copied to clipboard
data class Press(val point: Point) : Interaction

A press interaction.

Link copied to clipboard
data class Release(val point: Point) : Interaction

A release interaction.

Link copied to clipboard
data class Tap(val point: Point) : Interaction

A tap interaction.

Link copied to clipboard
data class Zoom(val point: Point) : Interaction

A zoom interaction.

Properties

Link copied to clipboard
abstract val point: Point