InteractionType extension type

The kind of gesture an Interaction listens for.

Well-known values are InteractionType.tap and InteractionType.longTap. New values may be added in future SDK versions without breaking existing code — unlike an enum, there is no exhaustiveness requirement on switches.

Values cannot be constructed outside of the platform interface package.

on
  • _SupportedInteractionType

Constants

longTap → const InteractionType
A long press. Not available on web.
tap → const InteractionType
A single tap (mobile) or click (GL-JS).