class NativeCommandListener extends CommandListenerAdapter {

    @Override
    public void onSuccess(String childId) {
        if (promise != null) promise.resolve(childId);
        eventEmitter.emitCommandCompleted(commandId, now.now());
    }

    public  NativeCommandListener(String commandId, @Nullable Promise promise, EventEmitter eventEmitter, Now now);

}