handleTouchDown static method

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

Implementation

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