Class SlowMotionData
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.mp4.SlowMotionData
-
- All Implemented Interfaces:
Parcelable
,Metadata.Entry
@Deprecated public final class SlowMotionData extends Object implements Metadata.Entry
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Holds information about the segments of slow motion playback within a track.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SlowMotionData.Segment
Deprecated.Holds information about a single segment of slow motion playback within a track.-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<SlowMotionData>
CREATOR
Deprecated.List<SlowMotionData.Segment>
segments
Deprecated.-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description SlowMotionData(List<SlowMotionData.Segment> segments)
Deprecated.Creates an instance with a list ofSlowMotionData.Segment
s.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
describeContents()
Deprecated.boolean
equals(Object o)
Deprecated.int
hashCode()
Deprecated.String
toString()
Deprecated.void
writeToParcel(Parcel dest, int flags)
Deprecated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.android.exoplayer2.metadata.Metadata.Entry
getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata
-
-
-
-
Field Detail
-
segments
public final List<SlowMotionData.Segment> segments
Deprecated.
-
CREATOR
public static final Parcelable.Creator<SlowMotionData> CREATOR
Deprecated.
-
-
Constructor Detail
-
SlowMotionData
public SlowMotionData(List<SlowMotionData.Segment> segments)
Deprecated.Creates an instance with a list ofSlowMotionData.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.
-
-
Method Detail
-
describeContents
public int describeContents()
Deprecated.- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.- Specified by:
writeToParcel
in interfaceParcelable
-
-