Event interface

The event interface enumerates the mm-player event types, defines the data structures that store event information, and defines the functions for processing mm-player events.

Events provide a practical mechanism for detecting changes in media sources and playback status. By using the event interface functions, you can receive notifications of such changes from mm-player instead of constantly polling it for state information and manually examining the retrieved data to detect those changes.