# VideoFrameReleaseControl.FrameReleaseInfo

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/video/VideoFrameReleaseControl.java+class:androidx.media3.exoplayer.video.VideoFrameReleaseControl.FrameReleaseInfo)

*** ** * ** ***


```
public class VideoFrameReleaseControl.FrameReleaseInfo
```

<br />

*** ** * ** ***

Per `https://developer.android.com/reference/androidx/media3/exoplayer/video/VideoFrameReleaseControl.FrameReleaseAction` metadata.

## Summary

| ### Public fields |
|---|---|
| `long` | `https://developer.android.com/reference/androidx/media3/exoplayer/video/VideoFrameReleaseControl.FrameReleaseInfo#earlyUs()` |
| `long` | `https://developer.android.com/reference/androidx/media3/exoplayer/video/VideoFrameReleaseControl.FrameReleaseInfo#releaseTimeNs()` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/exoplayer/video/VideoFrameReleaseControl.FrameReleaseInfo#FrameReleaseInfo()()` Resets this instances state. |

| ### Public methods |
|---|---|
| `long` | `https://developer.android.com/reference/androidx/media3/exoplayer/video/VideoFrameReleaseControl.FrameReleaseInfo#getEarlyUs()()` Returns this frame's early time compared to the playback position, before any release time adjustment to the screen vsync slots. |
| `long` | `https://developer.android.com/reference/androidx/media3/exoplayer/video/VideoFrameReleaseControl.FrameReleaseInfo#getReleaseTimeNs()()` Returns the release time for the frame, in nanoseconds, or `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()` if the frame should not be released yet. |

## Public fields

### earlyUs

```
public long earlyUs
```

### releaseTimeNs

```
public long releaseTimeNs
```

## Public constructors

### FrameReleaseInfo

```
public FrameReleaseInfo()
```

Resets this instances state.

## Public methods

### getEarlyUs

```
public long getEarlyUs()
```

Returns this frame's early time compared to the playback position, before any release time adjustment to the screen vsync slots.

### getReleaseTimeNs

```
public long getReleaseTimeNs()
```

Returns the release time for the frame, in nanoseconds, or `https://developer.android.com/reference/androidx/media3/common/C#TIME_UNSET()` if the frame should not be released yet.