handleTouchCancel static method

void handleTouchCancel(
  1. RenderContext<LoadInstanceContext> context,
  2. int nodeId,
  3. int rootId,
  4. double x,
  5. double y,
)

Implementation

static void handleTouchCancel(
  RenderContext context,
  int nodeId,
  int rootId,
  double x,
  double y,
) {
  context.renderBridgeManager.sendGestureEvent(
    rootId,
    nodeId,
    kTouchCancel,
    {
      kKeyPageX: x,
      kKeyPageY: y,
    },
  );
}