mme_playlist_position_set()

Set the current position in a playlist

Synopsis:

#include <mme/mme.h>

int mme_playlist_position_set( mme_playlist_hdl_t *hdl,
                               unsigned position );

Arguments:

hdl
A playlist connection handle.
position
The position to set in the playlist to.

Library:

mme/playlist

Description:

The function mme_playlist_position_set() sets a position in the current playlist. After calling this function, you can call mme_playlist_item_get() to retrieve the item from the position set.

Events

None delivered.

Blocking and validation

This function performs no validations, and runs to completion.

Returns:

0
Success: the ID of the synchronization operation.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

MME_PLAYLIST_*, mme_playlist_close(), mme_playlist_create(), mme_playlist_delete(), mme_playlist_generate_similar(), mme_playlist_hdl_t, mme_playlist_item_get(), mme_playlist_items_count_get(), mme_playlist_open(), mme_playlist_set_statement(), mme_playlist_sync()