PixaVideoFrameBackendCapabilities class final

Production capability contract for a video-frame backend.

Constructors

PixaVideoFrameBackendCapabilities.encodedImage({required Set<String> outputMimeTypes, bool nearestFrame = true, bool exactFrame = false, bool fileLocator = true, bool networkLocator = false, bool contentLocator = false, bool stable = true})
Creates capabilities for a backend that returns encoded image bytes.
const

Properties

contentLocator → bool
Backend accepts platform content/library locators.
final
encodedImageOutput → bool
Whether output is a supported encoded image payload.
no setter
exactFrame → bool
Backend can require the exact requested timestamp.
final
fileLocator → bool
Backend accepts local filesystem locators.
final
hashCode → int
The hash code for this object.
no setterinherited
hotPathSafe → bool
True when the backend can run on production gallery hot paths.
no setter
nearestFrame → bool
Backend can select the nearest efficiently decodable frame.
final
networkLocator → bool
Backend accepts HTTP/HTTPS locators through Pixa runtime scheduling.
final
outputKind → PixaVideoFrameOutputKind
Output payload kind.
final
outputMimeTypes → Set<String>
Supported encoded image MIME types returned by this backend.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stable → bool
Backend has fixtures, limits and platform compatibility coverage.
final

Methods

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