void onEvent(ExoMediaDrm mediaDrm, @Nullable byte sessionId, int event, int extra, @Nullable byte data)Called when an event occurs that requires the app to be notified
ExoMediaDrmobject on which the event occurred.
sessionId- The DRM session ID on which the event occurred.
event- Indicates the event type.
extra- A secondary error code.
data- Optional byte array of data that may be associated with the event.