mmr_async_list_change()

Asynchronously set a new playlist.

Synopsis:

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

Since:

BlackBerry 10.3.0

Arguments:

ctxt

A context handle.

udata

User data to be returned with the result.

url

The URL of a new playlist.

delta

The difference between the position of the current track on the two lists.

Library:

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

Description:

Send a request to set a new playlist without interrupting playback.

Returns:

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