mediacontroller_event_get_metadata_position()

Retrieve the current position in the track from the MEDIACONTROLLER_METADATA event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The MEDIACONTROLLER_METADATA event to extract the position from.

Library:

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

Description:

The mediacontroller_event_get_metadata_position() function extracts the position in the track from the specified MEDIACONTROLLER_METADATA event.

Returns:

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

Last modified: 2014-05-14



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

comments powered by Disqus