mediacontroller_event_get_metadata_duration()

Retrieve the duration from the MEDIACONTROLLER_METADATA event.

Synopsis:

#include <bps/mediacontroller.h>
 
BPS_API int mediacontroller_event_get_metadata_duration(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The MEDIACONTROLLER_METADATA event to extract the duration from.

Library:

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

Description:

The mediacontroller_event_get_metadata_duration() function extracts the duration from the specified MEDIACONTROLLER_METADATA event.

Returns:

The duration of the track (in milliseconds), a negative number indicates duration was not specified.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus