Back to Exoplayer

SlowMotionData (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/metadata/mp4/SlowMotionData.html

latest5.5 KB
Original Source

Package com.google.android.exoplayer2.metadata.mp4

Class SlowMotionData

  • java.lang.Object

    • com.google.android.exoplayer2.metadata.mp4.SlowMotionData
  • All Implemented Interfaces:Parcelable, Metadata.Entry


[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classSlowMotionDataextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[Metadata.Entry](../Metadata.Entry.html "interface in com.google.android.exoplayer2.metadata")

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 of SlowMotionData.Segments. |

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](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[SlowMotionData.Segment](SlowMotionData.Segment.html "class in com.google.android.exoplayer2.metadata.mp4")> segments

Deprecated.

- 

CREATOR

public static final[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html "class or interface in android.os")<[SlowMotionData](SlowMotionData.html "class in com.google.android.exoplayer2.metadata.mp4")> CREATOR

Deprecated.

Constructor Detail

- 

SlowMotionData

public SlowMotionData​([List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[SlowMotionData.Segment](SlowMotionData.Segment.html "class in com.google.android.exoplayer2.metadata.mp4")> segments)

Deprecated.

Creates an instance with a list of SlowMotionData.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.

Method Detail

- 

toString

public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")toString()

Deprecated. Overrides:toString in class Object

- 

equals

public boolean equals​(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")o)

Deprecated. Overrides:equals in class Object

- 

hashCode

public int hashCode()

Deprecated. Overrides:hashCode in class Object

- 

describeContents

public int describeContents()

Deprecated. Specified by:describeContents in interface Parcelable

- 

writeToParcel

public void writeToParcel​([Parcel](https://developer.android.com/reference/android/os/Parcel.html "class or interface in android.os")dest,
                          int flags)

Deprecated. Specified by:writeToParcel in interface Parcelable