public static interface MediaDrm.OnExpirationUpdateListener
Modifier and Type | Method and Description |
---|---|
void |
onExpirationUpdate(MediaDrm md,
byte[] sessionId,
long expirationTime)
Called when a session expiration update occurs, to inform the app
about the change in expiration time
|
void onExpirationUpdate(MediaDrm md, byte[] sessionId, long expirationTime)
md
- the MediaDrm object on which the event occurredsessionId
- the DRM session ID on which the event occurredexpirationTime
- the new expiration time for the keys in the session.
The time is in milliseconds, relative to the Unix epoch. A time of
0 indicates that the keys never expire.