Many of the Widevine methods are executed asynchronously. A listener object is used to report the status on an
operation in progress or to report information about an asset. In some cases, the listener may receive additional
information provided in the attributes parameter. This information is coded in a HashMap map.
Refer to the Widevine Android API specification for a description of the attributes defined for each event.
The WVEventListener interface defines the onEvent method that is called for each event type.
Clients of the Widevine Playback API should provide an object that implements the WVEventListener interface
to the initialize method.
Parameters:
eventType - - Type of the event
attributes - - HashMap of pairs defining the attributes associated with the event
Returns:
a WVStatus value indicating the result of the operation