MotionPhotoMetadata
@UnstableApi
public final class MotionPhotoMetadata implements Metadata.Entry
Metadata of a motion photo file.
Summary
Public fields |
|
|---|---|
final long |
The presentation timestamp of the photo, in microseconds, or |
final long |
The size of the photo data, in bytes. |
final long |
The start offset of the photo data, in bytes. |
final long |
The size of the video data, in bytes. |
final long |
The start offset of the video data, in bytes. |
Public constructors |
|---|
MotionPhotoMetadata(Creates an instance. |
Inherited methods |
||||||
|---|---|---|---|---|---|---|
|
Public fields
photoPresentationTimestampUs
public final long photoPresentationTimestampUs
The presentation timestamp of the photo, in microseconds, or TIME_UNSET if unknown.
photoStartPosition
public final long photoStartPosition
The start offset of the photo data, in bytes.
videoStartPosition
public final long videoStartPosition
The start offset of the video data, in bytes.
Public constructors
MotionPhotoMetadata
public MotionPhotoMetadata(
long photoStartPosition,
long photoSize,
long photoPresentationTimestampUs,
long videoStartPosition,
long videoSize
)
Creates an instance.