registerOnTwoDoubleTouches method

void registerOnTwoDoubleTouches(
  1. TouchCallback? twoDoubleTouchCallback
)

Two pointers double touch event.

A two pointers double touch event is defined as two consecutive two-pointer touches from which the pointer ups are within a preset time in milliseconds.

Parameters

  • IN pos is the mid position of the segment determined by the two pointer positions

Implementation

void registerOnTwoDoubleTouches(final TouchCallback? twoDoubleTouchCallback) {
  _touchTwoDoubleCallback = twoDoubleTouchCallback;

  GemKitPlatform.instance.filterEvent(
    pointerId,
    'onTwoDoubleTouches',
    twoDoubleTouchCallback == null,
  );
}