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, @Nullable byte[] data)
mediaDrm - The ExoMediaDrm object 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.