DeepARFrame class
Represents a single AR-processed frame from the DeepAR engine.
On Android, frames are in RGBA format. On iOS, frames are in BGRA format. The format field indicates which format was used.
Constructors
- DeepARFrame({required Uint8List data, required int width, required int height, required String format, required int timestamp})
-
const
- DeepARFrame.fromMap(Map map)
-
Creates a DeepARFrame from a raw map received via EventChannel.
factory
Properties
- data → Uint8List
-
Raw pixel data as bytes.
final
- format → String
-
Pixel format: 'rgba' (Android) or 'bgra' (iOS).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Height of the frame in pixels.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int
-
Timestamp in milliseconds since epoch.
final
- width → int
-
Width of the frame in pixels.
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