# KeyRequestInfo

Artifact: [androidx.media3:media3-exoplayer](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/exoplayer/drm/KeyRequestInfo.java+class:androidx.media3.exoplayer.drm.KeyRequestInfo)

*** ** * ** ***

<br />

```
@UnstableApi
public final class KeyRequestInfo
```

<br />

*** ** * ** ***

Information related to a completed DRM key request operation.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/media3/exoplayer/drm/KeyRequestInfo.Builder` Builder for `https://developer.android.com/reference/androidx/media3/exoplayer/drm/KeyRequestInfo` instances. |

| ### Public fields |
|---|---|
| `final https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/androidx/media3/exoplayer/source/LoadEventInfo>` | `https://developer.android.com/reference/androidx/media3/exoplayer/drm/KeyRequestInfo#loadInfos()` The `https://developer.android.com/reference/androidx/media3/exoplayer/source/LoadEventInfo` instances for the requests used to load the key. |
| `final @https://developer.android.com/reference/androidx/annotation/Nullable https://guava.dev/releases/snapshot-android/api/docs/com/google/common/collect/ImmutableList.html<https://developer.android.com/reference/androidx/media3/common/DrmInitData.SchemeData>` | `https://developer.android.com/reference/androidx/media3/exoplayer/drm/KeyRequestInfo#schemeDatas()` The DRM `https://developer.android.com/reference/androidx/media3/common/DrmInitData.SchemeData` that identifies the loaded key, or null if this session uses offline keys. |

## Public fields

### loadInfos

```
public final ImmutableList<LoadEventInfo> loadInfos
```

The `https://developer.android.com/reference/androidx/media3/exoplayer/source/LoadEventInfo` instances for the requests used to load the key.

This list will be empty if the `https://developer.android.com/reference/androidx/media3/exoplayer/drm/MediaDrmCallback` used to serve the request doesn't populate `https://developer.android.com/reference/androidx/media3/exoplayer/drm/MediaDrmCallback.Response#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.SchemeData> schemeDatas
```

The DRM `https://developer.android.com/reference/androidx/media3/common/DrmInitData.SchemeData` that identifies the loaded key, or null if this session uses offline keys.