mpv_command_node_async method

int mpv_command_node_async(
  1. Pointer<mpv_handle> ctx,
  2. int reply_userdata,
  3. Pointer<mpv_node> args
)

Same as mpv_command_node(), but run it asynchronously. Basically, this function is to mpv_command_node() what mpv_command_async() is to mpv_command().

See mpv_command_async() for details.

Safe to be called from mpv render API threads.

@param reply_userdata the value mpv_event.reply_userdata of the reply will be set to (see section about asynchronous calls) @param args as in mpv_command_node() @return error code (if parsing or queuing the command fails)

Implementation

int mpv_command_node_async(
  ffi.Pointer<mpv_handle> ctx,
  int reply_userdata,
  ffi.Pointer<mpv_node> args,
) {
  return _mpv_command_node_async(
    ctx,
    reply_userdata,
    args,
  );
}