public final class WidevineUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_LICENSE_DURATION_REMAINING
Widevine specific key status field name for the remaining license duration, in seconds.
|
static java.lang.String |
PROPERTY_PLAYBACK_DURATION_REMAINING
Widevine specific key status field name for the remaining playback duration, in seconds.
|
| Modifier and Type | Method and Description |
|---|---|
static android.util.Pair<java.lang.Long,java.lang.Long> |
getLicenseDurationRemainingSec(DrmSession<?> drmSession)
Returns license and playback durations remaining in seconds.
|
public static final java.lang.String PROPERTY_LICENSE_DURATION_REMAINING
public static final java.lang.String PROPERTY_PLAYBACK_DURATION_REMAINING
public static android.util.Pair<java.lang.Long,java.lang.Long> getLicenseDurationRemainingSec(DrmSession<?> drmSession)
drmSession - Pair consisting of the remaining license and playback durations in seconds.java.lang.IllegalStateException - If called when a session isn't opened.