mme_bookmark_delete()

Delete a bookmark from a track

Synopsis:

#include <mme/mme.h>


int mme_bookmark_delete( mme_hdl_t *hdl,
                         uint64_t bookmarkid,
                         uint64_t fid );

Arguments:

hdl
The MME connection handle.
bookmarkid
The bookmark ID. Set this argument to 0 if you are deleting the bookmark(s) based on the file ID (fid).
fid
The ID for the file from which you want to delete all bookmarks. Set this argument to 0 and use bookmarkid if you want to delete only one, specified bookmark from the file.

Library:

mme

Description:

The function mme_bookmark_delete() deletes a specified bookmark or all bookmarks on a specified track. Note that you can specify either bookmarkid to delete a specific bookmark, or fid to delete all bookmarks for a specified track, but you can not specify both bookmarkid and fid.

Events

None delivered.

Blocking and validation

This function is fully validating and runs to completion.

Returns:

0
Success.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

mme_bookmark_create(), mme_play_bookmark()