CameraEvent class

A lifecycle / error event emitted by a camera session on NitroCamera.eventStream.

Available extensions
Annotations
  • @hybridRecord

Constructors

CameraEvent({required int type, required int textureId, int reason = 0, String message = ''})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
final
reason → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textureId → int
final
type → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toNative(Allocator alloc) → Pointer<Uint8>

Available on CameraEvent, provided by the CameraEventRecordExt extension

toString() → String
A string representation of this object.
inherited
writeFields(RecordWriter writer) → void

Available on CameraEvent, provided by the CameraEventRecordExt extension

Operators

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