MotionPhotos class
This class is responsible for classifying a file as motion photo, if so, extracts the VideoIndex from the motion photo. extracts the VideoContent of the motion photo.
Constructors
- MotionPhotos(String filePath)
Properties
- bufferLoaded ↔ bool
-
getter/setter pair
- filePath → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getMotionVideo(
{VideoIndex? index}) → Future< Uint8List> -
getMotionVideoFile(
{String fileName = 'motionphoto', VideoIndex? index}) → Future< File> -
getMotionVideoIndex(
) → Future< VideoIndex?> -
isMotionPhoto(
) → Future< bool> - isMotionPhoto returns true if the file is a motion photo
-
loadBuffer(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited