VideoReaderHostApi class

Decoding, on its own serial background queue.

Constructors

VideoReaderHostApi({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
Constructor for VideoReaderHostApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
pigeonVar_binaryMessenger → BinaryMessenger?
final
pigeonVar_messageChannelSuffix → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

closeReader(int readerId) → Future<void>
frameAt(int readerId, int timeUs) → Future<VideoFrameMessage>
The frame closest to timeUs, for scrubbing. Doesn't move the sequential position used by nextFrame.
nextFrame(int readerId) → Future<VideoFrameMessage?>
The next frame in presentation order, or null at the end.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openReader(int readerId, String path, int? maxDimension, ScaleFilter filter) → Future<VideoInfoMessage>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

pigeonChannelCodec → const MessageCodec<Object?>