mmr_async_output_attach()

Asynchronously attach an output.

Synopsis:

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

Since:

BlackBerry 10.3.0

Arguments:

ctxt

A context handle.

udata

User data to be returned with the result.

url

The URL of the new output.

type

The output type ("audio", "video", etc.).

Library:

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

Description:

Send a request to attach an output and return its output ID.

Returns:

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