Class 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.
    • 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, or C.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.
    • Constructor Detail

      • MotionPhotoMetadata

        public MotionPhotoMetadata​(long photoStartPosition,
                                   long photoSize,
                                   long photoPresentationTimestampUs,
                                   long videoStartPosition,
                                   long videoSize)
        Deprecated.
        Creates an instance.