XVideoProbeResult class
What XVideoProbe.probe reports about one video file.
Constructors
- XVideoProbeResult({required int width, required int height, required int durationMs, Uint8List? posterPng})
-
Binds the reported dimensions, length, and poster frame.
const
Properties
- durationMs → int
-
Track length in milliseconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Display height, alongside width.
final
- posterPng → Uint8List?
-
PNG of the requested frame, or null when the decode failed (an
unsupported codec still yields dimensions and duration).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
Display dimensions — the track's natural size with its preferred
transform applied, so a portrait recording reports portrait.
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