mmrenderer_event_get_error_position()

Get the error position from an MMRENDERER_STATE_CHANGE event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The MMRENDERER_STATE_CHANGE event to get the error position from.

Library:

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

Description:

The mmrenderer_event_get_error_position() function gets the position that an error occurred from the specified MMRENDERER_STATE_CHANGE event.

Returns:

A string that represents the error position, or NULL if this event was not generated by a state change from MMR_PLAYING to MMR_STOPPED, or if the state change was caused by an API call. This pointer is valid until you destroy the event.