Retrieve the duration from the MEDIACONTROLLER_METADATA event.
#include <bps/mediacontroller.h>
BPS_API int mediacontroller_event_get_metadata_duration(bps_event_t *event)
BlackBerry 10.0.0
The MEDIACONTROLLER_METADATA event to extract the duration from.
The mediacontroller_event_get_metadata_duration() function extracts the duration from the specified MEDIACONTROLLER_METADATA event.
The duration of the track (in milliseconds), a negative number indicates duration was not specified.