@UnstableApi
public final class SlowMotionData implements Metadata.Entry


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

Summary

Nested types

public final class SlowMotionData.Segment implements Parcelable

Holds information about a single segment of slow motion playback within a track.

Constants

static final Parcelable.Creator<SlowMotionData>

Public fields

final List<SlowMotionData.Segment>

Public constructors

Creates an instance with a list of Segments.

Public methods

int
boolean
int
String
void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Inherited methods

From androidx.media3.common.Metadata.Entry
@Nullable byte[]

Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata.

@Nullable Format

Returns the Format that can be used to decode the wrapped metadata in getWrappedMetadataBytes, or null if this Entry doesn't contain wrapped metadata.

void

Updates the MediaMetadata.Builder with the type-specific values stored in this Entry.

Constants

CREATOR

public static final Parcelable.Creator<SlowMotionDataCREATOR

Public fields

segments

public final List<SlowMotionData.Segmentsegments

Public constructors

SlowMotionData

public SlowMotionData(List<SlowMotionData.Segment> segments)

Creates an instance with a list of Segments.

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

describeContents

public int describeContents()

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()

toString

public String toString()

writeToParcel

public void writeToParcel(Parcel dest, int flags)