Start receiving multimedia renderer events.
#include <bps/mmrenderer.h>
BPS_API mmrenderer_monitor_t* mmrenderer_request_events(const char *ctxtname,
unsigned flags,
intptr_t userdata)
BlackBerry 10.0.0
The name of the multimedia renderer context to monitor.
The types of events to deliver. A value of zero indicates that all events are requested. The meaning of non-zero values is reserved for future use.
A user data value. You can use this data to store any additional information that your application needs to interact with the multimedia renderer.
The mmrenderer_request_events() function starts to deliver multimedia renderer events to your application using BPS. When you call this function, you must specify the name of a multimedia renderer context to monitor. This context must have been created previously, either by your application or by another application that allows the context to be shared.
A handle for the specified context, or NULL if an error occurred.