public static interface ExoMediaDrm.OnEventListener<T extends ExoMediaCrypto>
MediaDrm.OnEventListener
Modifier and Type | Method and Description |
---|---|
void |
onEvent(ExoMediaDrm<? extends T> mediaDrm,
byte[] sessionId,
int event,
int extra,
byte[] data)
Called when an event occurs that requires the app to be notified
|
void onEvent(ExoMediaDrm<? extends T> mediaDrm, byte[] sessionId, int event, int extra, byte[] data)
mediaDrm
- the ExoMediaDrm
object on which the event occurred.sessionId
- the DRM session ID on which the event occurredevent
- indicates the event typeextra
- an secondary error codedata
- optional byte array of data that may be associated with the event