Get the error information from an MMRENDERER_STATE_CHANGE event.
#include <bps/mmrenderer.h>
BPS_API const mmr_error_info_t* mmrenderer_event_get_error(bps_event_t *event)
BlackBerry 10.0.0
The MMRENDERER_STATE_CHANGE event to get the error information from.
The mmrenderer_event_get_error() function gets the error information from the specified MMRENDERER_STATE_CHANGE event.
A pointer to a structure that represents the error information, 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.