Class MotionPhotoMetadata

    • Field Detail

      • photoStartPosition

        public final long photoStartPosition
        The start offset of the photo data, in bytes.
      • photoSize

        public final long photoSize
        The size of the photo data, in bytes.
      • photoPresentationTimestampUs

        public final long photoPresentationTimestampUs
        The presentation timestamp of the photo, in microseconds, or C.TIME_UNSET if unknown.
      • videoStartPosition

        public final long videoStartPosition
        The start offset of the video data, in bytes.
      • videoSize

        public final long videoSize
        The size of the video data, in bytes.
    • Constructor Detail

      • MotionPhotoMetadata

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