HLCameraOptions class
Constructors
- HLCameraOptions({CameraType? cameraType, int? recordVideoMaxSecond, bool? isExportThumbnail, double? compressQuality, CompressFormat? compressFormat, double? thumbnailCompressQuality, CompressFormat? thumbnailCompressFormat, MaxSizeOutput? maxSizeOutput})
-
const
Properties
- cameraType → CameraType?
-
Specifies the type of camera to be used: CameraType.video, CameraType.image
final
- compressFormat → CompressFormat?
-
The image format for selected image: CompressFormat.jpg, CompressFormat.png.
final
- compressQuality → double?
-
The compression quality for selected image.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isExportThumbnail → bool?
-
Determines whether to export thumbnail for recorded video.
final
- maxSizeOutput → MaxSizeOutput?
-
final
- recordVideoMaxSecond → int?
-
The maximum duration (in seconds) for recorded video.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbnailCompressFormat → CompressFormat?
-
The image format for exported thumbnail: CompressFormat.jpg, CompressFormat.png.
final
- thumbnailCompressQuality → double?
-
The compression quality for exported thumbnail.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited