@UnstableApi
class KeyRequestInfo


Information related to a completed DRM key request operation.

Summary

Nested types

Builder for KeyRequestInfo instances.

Public properties

ImmutableList<LoadEventInfo!>!

The LoadEventInfo instances for the requests used to load the key.

ImmutableList<DrmInitData.SchemeData!>?

The DRM SchemeData that identifies the loaded key, or null if this session uses offline keys.

Public properties

loadInfos

val loadInfosImmutableList<LoadEventInfo!>!

The LoadEventInfo instances for the requests used to load the key.

This list will be empty if the MediaDrmCallback used to serve the request doesn't populate loadEventInfo.

Entries in this list are in ascending order by timestamp with the first request first in the list, followed by entries for any retries needed to load the key.

schemeDatas

val schemeDatasImmutableList<DrmInitData.SchemeData!>?

The DRM SchemeData that identifies the loaded key, or null if this session uses offline keys.