mmrenderer_event_get_bufferlevel()

Get the buffer level from an MMRENDERER_STATUS_UPDATE event.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

event

The MMRENDERER_STATUS_UPDATE event to get the buffer level from.

Library:

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

Description:

The mmrenderer_event_get_bufferlevel() function gets the buffer level from the specified MMRENDERER_STATUS_UPDATE event.

Returns:

A string that represents the buffer level (in the form level/capacity), or NULL if the context has not reported a buffer level. This pointer is valid until you destroy the event.