CameraFrame class

Represents a raw camera frame from native hardware. Contains the binary pixel data and resolution metadata.

Constructors

CameraFrame({required Uint8List bytes, required int width, required int height, String format = 'rgba'})
Constructs a CameraFrame.
CameraFrame.fromMap(Map map)
Creates a CameraFrame from a raw data map.
factory

Properties

bytes → Uint8List
The raw binary data of the frame.
final
format → String
The format of the frame data (e.g., 'rgba', 'yuv').
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
The height of the captured frame.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → int
The width of the captured frame.
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