CameraInitializedEvent class

An event fired when the camera has finished initializing.

Inheritance

Constructors

CameraInitializedEvent(int cameraId, double previewWidth, double previewHeight, ExposureMode exposureMode, bool exposurePointSupported, FocusMode focusMode, bool focusPointSupported)
Build a CameraInitialized event triggered from the camera represented by cameraId.
const
CameraInitializedEvent.fromJson(Map<String, dynamic> json)
Converts the supplied Map to an instance of the CameraInitializedEvent class.

Properties

cameraId int
The ID of the Camera this event is associated to.
finalinherited
exposureMode ExposureMode
The default exposure mode
final
exposurePointSupported bool
Whether setting exposure points is supported.
final
focusMode FocusMode
The default focus mode
final
focusPointSupported bool
Whether setting focus points is supported.
final
hashCode int
The hash code for this object.
no setteroverride
previewHeight double
The height of the preview in pixels.
final
previewWidth double
The width of the preview in pixels.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the CameraInitializedEvent instance into a Map instance that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override