@UnstableApi
public final class SlowMotionData implements Metadata.Entry

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

Summary

Public fields

final List<SlowMotionData.Segment>

Public constructors

Creates an instance with a list of Segments.

Public methods

boolean
int
String

Inherited methods

From androidx.media3.common.Metadata.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 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

equals

public boolean equals(@Nullable Object o)

hashCode

public int hashCode()

toString

public String toString()