mmr_async_command_send()

Asynchronously send a remote control command to the context.

Synopsis:

#include <mm/renderer/async.h>
 
int mmr_async_command_send(mmr_context_t *ctxt,
                           void *udata,
                           const char *cmd)

Since:

BlackBerry 10.3.0

Arguments:

ctxt

A context handle.

udata

User data to be returned with the result.

cmd

The command.

Library:

libmmrndclient (For the qcc command, use the -l mrndclient option to link against this library)

Description:

Send a request to send a remote control command to the context.

Returns:

Zero on success, -1 on failure (check errno).