DocumentCameraConfiguration class
- Inheritance
-
- Object
- CameraConfiguration
- DocumentCameraConfiguration
- Annotations
-
- @JsonSerializable(createFactory: false, includeIfNull: false, explicitToJson: true)
Constructors
- DocumentCameraConfiguration({required DocumentClassicScannerConfiguration scannerConfiguration, bool? flashEnabled, ContourConfiguration? contourConfiguration, double? cameraZoomFactor, bool detectionEnabled = true})
Properties
- cameraZoomFactor ↔ double?
-
Set current zoom by a linear zoom value ranging from 0f to 1.0f. It maps to the range of real values of 1x-12x zoom.
If device os not supporting some part of this range the closest value will be taken.
Optical Zoom Level 0f represents the minimum zoom(1x) while Optical Zoom Level 1.0f represents the maximum zoom(12x).
Default value is 0f.
getter/setter pair
- contourConfiguration ↔ ContourConfiguration?
-
Configuration of the document contour appearance.
getter/setter pair
- detectionEnabled ↔ bool
-
Controls whether the frame detection should be enabled.
getter/setter pair
- detectorType → DetectorType
-
final
- flashEnabled ↔ bool?
-
Controls whether the flash should be initially enabled.
The default value is FALSE.
getter/setter pair
- handleCameraInAppBackgroundAutomatically ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scannerConfiguration ↔ DocumentClassicScannerConfiguration
-
Configuration of the document scanner detection behavior eg. which searched documents aspect ratios etc.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited