@UnstableApi
public final class KeyRequestInfo


Information related to a completed DRM key request operation.

Summary

Nested types

public final class KeyRequestInfo.Builder

Builder for KeyRequestInfo instances.

Public fields

final ImmutableList<LoadEventInfo>

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

final @Nullable ImmutableList<DrmInitData.SchemeData>

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

Public fields

loadInfos

public final ImmutableList<LoadEventInfoloadInfos

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

public final @Nullable ImmutableList<DrmInitData.SchemeDataschemeDatas

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