IVideoCompress class abstract
- Available extensions
Constructors
Properties
- channel → MethodChannel
-
no setterinherited
-
compressProgress$
→ ObservableBuilder<
double> -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCompressing → bool
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelCompression(
) → Future< void> -
Available on IVideoCompress, provided by the Compress extension
stop compressing the file that is currently being compressed. If there is no compression process, nothing will happen. -
compressVideo(
String path, {VideoQuality quality = VideoQuality.DefaultQuality, bool deleteOrigin = false, int? startTime, int? duration, bool? includeAudio, int frameRate = 30}) → Future< MediaInfo?> -
Available on IVideoCompress, provided by the Compress extension
compress video frompath
compress video frompath
return Future<MediaInfo> -
deleteAllCache(
) → Future< bool?> -
Available on IVideoCompress, provided by the Compress extension
delete the cache folder, please do not put other things in the folder of this plugin, it will be cleared -
dispose(
) → void -
Available on IVideoCompress, provided by the Compress extension
-
getByteThumbnail(
String path, {int quality = 100, int position = -1}) → Future< Uint8List?> -
Available on IVideoCompress, provided by the Compress extension
getByteThumbnail return Future<Uint8List>, quality can be controlled byquality
from 1 to 100, select the position unit in the video byposition
is milliseconds -
getFileThumbnail(
String path, {int quality = 100, int position = -1}) → Future< File> -
Available on IVideoCompress, provided by the Compress extension
getFileThumbnail return Future<File> quality can be controlled byquality
from 1 to 100, select the position unit in the video byposition
is milliseconds -
getMediaInfo(
String path) → Future< MediaInfo> -
Available on IVideoCompress, provided by the Compress extension
get media information frompath
-
initProcessCallback(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setLogLevel(
int logLevel) → Future< void> -
Available on IVideoCompress, provided by the Compress extension
-
setProcessingStatus(
bool status) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited