CameraResolutionChangedEvent class
An event fired when the resolution preset of the camera has changed.
- Inheritance
-
- Object
- CameraEvent
- CameraResolutionChangedEvent
Constructors
- CameraResolutionChangedEvent(int cameraId, double captureWidth, double captureHeight)
-
Build a CameraResolutionChanged event triggered from the camera
represented by
cameraId
.const -
CameraResolutionChangedEvent.fromJson(Map<
String, dynamic> json) - Converts the supplied Map to an instance of the CameraResolutionChangedEvent class.
Properties
- cameraId → int
-
The ID of the Camera this event is associated to.
finalinherited
- captureHeight → double
-
The capture height in pixels.
final
- captureWidth → double
-
The capture width in pixels.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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 CameraResolutionChangedEvent 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