Multimedia Renderer Event API
The multimedia renderer Event API exposes the data types that contain event information and the functions that let you monitor and process events.
The Event API provides functions for waiting on events and for retrieving information on the latest event that occurred. You can write an event-processing loop to continuously monitor and react to events by storing the necessary data and performing follow-up actions, if desired.
The event information delivered by the API contains, but is not limited to:
- the event type
- the context state
- a warning string, when applicable
- detailed error information, when applicable
The Event API helps you process events in an automated way without having to manually access and parse status files to keep up with the state of the mm-renderer service.
The header file defining the enumerated event type codes and the Event API functions, events.h, can be found in the folder /usr/include/mm/renderer/.