# SlowMotionData

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

*** ** * ** ***


```
@UnstableApi
public final class SlowMotionData implements Metadata.Entry
```

<br />

*** ** * ** ***

Holds information about the segments of slow motion playback within a track.

## Summary

| ### Nested types |
|---|
| `public final class https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData.Segment` Holds information about a single segment of slow motion playback within a track. |

| ### Public fields |
|---|---|
| `final https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData.Segment>` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData#segments()` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData#SlowMotionData(java.util.List<androidx.media3.extractor.metadata.mp4.SlowMotionData.Segment>)(https://developer.android.com/reference/java/util/List.html<https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData.Segment> segments)` Creates an instance with a list of `https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData.Segment`s. |

| ### Public methods |
|---|---|
| `boolean` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData#equals(java.lang.Object)(@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/java/lang/Object.html o)` |
| `int` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData#hashCode()()` |
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData#toString()()` |

| ### Inherited methods |
|---|
| From [androidx.media3.common.Metadata.Entry](https://developer.android.com/reference/androidx/media3/common/Metadata.Entry) |---|---| | `@https://developer.android.com/reference/androidx/annotation/Nullable byte[]` | `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#getWrappedMetadataBytes()()` Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata. | | `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/androidx/media3/common/Format` | `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#getWrappedMetadataFormat()()` Returns the `https://developer.android.com/reference/androidx/media3/common/Format` that can be used to decode the wrapped metadata in `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#getWrappedMetadataBytes()`, or null if this Entry doesn't contain wrapped metadata. | | `void` | `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#populateMediaMetadata(androidx.media3.common.MediaMetadata.Builder)(https://developer.android.com/reference/androidx/media3/common/MediaMetadata.Builder builder)` Updates the `https://developer.android.com/reference/androidx/media3/common/MediaMetadata.Builder` with the type-specific values stored in this ` Entry`. | |

## Public fields

### segments

```
public final List<SlowMotionData.Segment> segments
```

## Public constructors

### SlowMotionData

```
public SlowMotionData(List<SlowMotionData.Segment> segments)
```

Creates an instance with a list of `https://developer.android.com/reference/androidx/media3/extractor/metadata/mp4/SlowMotionData.Segment`s.

The segments must not overlap, that is that the start time of a segment can not be between the start and end time of another segment.

## Public methods

### equals

```
public boolean equals(@Nullable Object o)
```

### hashCode

```
public int hashCode()
```

### toString

```
public String toString()
```