mmrenderer_event_get_position()

Get the playing position from an MMRENDERER_STATUS_UPDATE event.

Synopsis:

#include <bps/mmrenderer.h>
 
BPS_API const char* mmrenderer_event_get_position(bps_event_t *event)

Since:

BlackBerry 10.0.0

Arguments:

event

The MMRENDERER_STATUS_UPDATE event to get the playing position from.

Library:

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

Description:

The mmrenderer_event_get_position() function gets the playing position of the context from the specified MMRENDERER_STATUS_UPDATE event.

Returns:

A string that represents the position, or NULL if the context has not reported a position yet. This pointer is valid until you destroy the event.