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. The event information delivered by the API includes, but is not limited to:

  • the event type
  • the context state
  • a warning string, when applicable
  • detailed error information, when applicable

Using this API, you can process events in an automated way without having to access and parse status files to keep up with the state of the mm-renderer service. You can instead write an event-processing loop to continuously monitor and react to events by storing the necessary data and performing follow-up actions.

The header file for the Event API, events.h, is located in /usr/include/mm/renderer/.

Last modified: 2013-12-21

comments powered by Disqus