lux_video_thumbnail_platform_interface library
Classes
- FileBackedResult
- File-backed thumbnail result (Android/iOS).
- LuxVideoThumbnailErrorCodes
- Error codes returned by platform implementations.
- LuxVideoThumbnailMethods
- Method names for the platform channel.
- MemoryBackedResult
- Memory-backed thumbnail result (Web).
- MethodChannelVideoThumbnail
- Default MethodChannel implementation for the platform interface.
- ThumbnailLimits
- Resource ceilings shared by the public API and platform implementations.
- ThumbnailOptions
- Configuration options for thumbnail generation.
- VideoSource
- A video input, independent of browser and filesystem APIs.
- VideoThumbnailPlatform
- Platform interface for video thumbnail generation.
- VideoThumbnailResult
- Abstract result of a thumbnail generation operation.
- VideoThumbnailSession
- Opaque handle representing an open video session for batch thumbnail generation.
Enums
- ThumbnailFormat
- Supported thumbnail output formats.
- VideoSourceType
- The kind of input supplied to the video decoder.
Extensions
- ThumbnailOptionsJson on ThumbnailOptions
- Extension to serialize ThumbnailOptions for MethodChannel.
Constants
- kLuxVideoThumbnailChannel → const String
- Method channel name used for communication with platform implementations.
Exceptions / Errors
- CorsBlockedException
- Thrown when CORS policy blocks canvas access to video frames.
- CorsException
- Thrown when CORS policy blocks access to a remote video (Web only).
- DurationUnknownException
- Thrown when the video duration cannot be determined.
- GenerationFailedException
- Thrown when thumbnail generation fails due to platform-specific errors.
- PermissionDeniedException
- Thrown when the video source is inaccessible due to permissions.
- PlatformNotSupportedException
- Thrown when the current platform is not supported.
- SessionException
- Thrown when a session operation fails (open/close/generate).
- TimestampOutOfRangeException
- Thrown when the timestamp is outside the video duration.
- UnsupportedFormatException
- Thrown when the video format/codec is not supported on the current platform.
- VideoNotFoundException
- Thrown when the video source cannot be found or accessed.
- VideoThumbnailException
- Base exception for all video thumbnail errors.