video_compress_kit_platform_interface 0.0.2
video_compress_kit_platform_interface: ^0.0.2 copied to clipboard
A common platform interface for the video_compress_kit plugin.
video_compress_kit_platform_interface #
The platform interface package for video_compress_kit.
This package defines the abstract VideoCompressKitPlatform class that all
platform implementations must implement, plus the shared Dart types used
across the entire federated plugin:
VideoQuality— preset compression quality with resolution caps and bitrate estimationCompressionConfig— full configuration for a compress operationCompressionResult— result data returned after compressionMediaInfo— metadata about a video file
For plugin implementors #
If you are building a platform implementation (e.g. video_compress_kit_web):
- Add this package as a dependency.
- Extend
MethodChannelVideoCompressKit(orVideoCompressKitPlatformdirectly if you don't use method channels). - Register your implementation via
registerWith()and list it in yourpubspec.yamlunderflutter.plugin.platforms.
See the federated plugin guide for full details.
For app developers #
You should not depend on this package directly. Instead, use the app-facing
video_compress_kit package
which re-exports all the types you need.
License #
MIT — see LICENSE.