Class MotionPhotoMetadata
- java.lang.Object
-
- com.google.android.exoplayer2.metadata.mp4.MotionPhotoMetadata
-
- All Implemented Interfaces:
Parcelable
,Metadata.Entry
@Deprecated public final class MotionPhotoMetadata 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.Metadata of a motion photo file.
-
-
Nested Class Summary
-
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<MotionPhotoMetadata>
CREATOR
Deprecated.long
photoPresentationTimestampUs
Deprecated.The presentation timestamp of the photo, in microseconds, orC.TIME_UNSET
if unknown.long
photoSize
Deprecated.The size of the photo data, in bytes.long
photoStartPosition
Deprecated.The start offset of the photo data, in bytes.long
videoSize
Deprecated.The size of the video data, in bytes.long
videoStartPosition
Deprecated.The start offset of the video data, in bytes.-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description MotionPhotoMetadata(long photoStartPosition, long photoSize, long photoPresentationTimestampUs, long videoStartPosition, long videoSize)
Deprecated.Creates an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description int
describeContents()
Deprecated.boolean
equals(Object obj)
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
-
photoStartPosition
public final long photoStartPosition
Deprecated.The start offset of the photo data, in bytes.
-
photoSize
public final long photoSize
Deprecated.The size of the photo data, in bytes.
-
photoPresentationTimestampUs
public final long photoPresentationTimestampUs
Deprecated.The presentation timestamp of the photo, in microseconds, orC.TIME_UNSET
if unknown.
-
videoStartPosition
public final long videoStartPosition
Deprecated.The start offset of the video data, in bytes.
-
videoSize
public final long videoSize
Deprecated.The size of the video data, in bytes.
-
CREATOR
public static final Parcelable.Creator<MotionPhotoMetadata> CREATOR
Deprecated.
-
-
Method Detail
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.- Specified by:
writeToParcel
in interfaceParcelable
-
describeContents
public int describeContents()
Deprecated.- Specified by:
describeContents
in interfaceParcelable
-
-