@Override
    public void onDrag(int source, Node target, float x, float y, float z) {
        VRTComponent node = weakComponent.get();
        if (node == null){
            return;
        }

        WritableMap event = Arguments.createMap();
        event.putInt("source", source);
        WritableArray dragToPos = Arguments.createArray();
        dragToPos.pushDouble(x);
        dragToPos.pushDouble(y);
        dragToPos.pushDouble(z);
        event.putArray("dragToPos", dragToPos);

        node.getReactContext().getJSModule(RCTEventEmitter.class).receiveEvent(
                node.getId(),
                ViroEvents.ON_DRAG,
                event);
    }
Represents all java-to-javascript calls that can be triggered from an EventDelegate.
android/viro_bridge/src/main/java/com/viromedia/bridge/utility/ComponentEventDelegate.java