mmp_event::data

The properties reported by the event, stored in dictionary format.

Description:

All the mm-player properties reported by the event, represented as a dictionary object. This field provides an alternative mechanism for reading event properties.

For all event types, the names of the dictionary keys match the names of the equivalent fields in the structure defined in mmr_event::details. The exception is any field with a name consisting of multiple words, such as mediasource (found in the mmp_event_mediasource structure when the event type is MMP_EVENT_MEDIASOURCE). The equivalent dictionary key contains an underscore (_) between the individual words (i.e., media_source is the correct key).

To look up values in a strm_dict_t dictionary object by key name, see the strm_dict_find_value() function in the Multimedia Renderer Developer's Guide.