CameraInterface class

Constructors

CameraInterface({BinaryMessenger? binaryMessenger})
Constructor for CameraInterface. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

availableSizes() Future<List<PreviewSize?>>
checkPermissions() Future<List<String?>>
focusOnPoint(PreviewSize arg_previewSize, double arg_x, double arg_y, AndroidFocusSettings? arg_androidFocusSettings) Future<void>
Starts auto focus on a point at (x, y).
getBackSensors() Future<List<PigeonSensorTypeDevice?>>
getEffectivPreviewSize() Future<PreviewSize?>
getFrontSensors() Future<List<PigeonSensorTypeDevice?>>
getMaxZoom() Future<double>
getPreviewTextureId() Future<int>
handleAutoFocus() Future<void>
isVideoRecordingAndImageAnalysisSupported(String arg_sensor) Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseVideoRecording() Future<void>
receivedImageFromStream() Future<void>
recordVideo(String arg_path, VideoOptions? arg_options) Future<void>
refresh() Future<void>
requestPermissions(bool arg_saveGpsLocation) Future<List<String?>>
Returns given CamerAwesomePermission list (as String). Location permission might be refused but the app should still be able to run.
resumeVideoRecording() Future<void>
setAspectRatio(String arg_aspectRatio) Future<void>
setCaptureMode(String arg_mode) Future<void>
setCorrection(double arg_brightness) Future<void>
setExifPreferences(ExifPreferences arg_exifPreferences) Future<bool>
setFilter(List<double?> arg_matrix) Future<void>
setFlashMode(String arg_mode) Future<void>
setMirrorFrontCamera(bool arg_mirror) Future<void>
setPhotoSize(PreviewSize arg_size) Future<void>
setPreviewSize(PreviewSize arg_size) Future<void>
setRecordingAudioMode(bool arg_enableAudio) Future<bool>
setSensor(String arg_sensor, String? arg_deviceId) Future<void>
setupCamera(String arg_sensor, String arg_aspectRatio, double arg_zoom, bool arg_mirrorFrontCamera, bool arg_enablePhysicalButton, String arg_flashMode, String arg_captureMode, bool arg_enableImageStream, ExifPreferences arg_exifPreferences) Future<bool>
setupImageAnalysisStream(String arg_format, int arg_width, double? arg_maxFramesPerSecond, bool arg_autoStart) Future<void>
setZoom(double arg_zoom) Future<void>
start() Future<bool>
startAnalysis() Future<void>
stop() Future<bool>
stopAnalysis() Future<void>
stopRecordingVideo() Future<bool>
takePhoto(String arg_path) Future<bool>
toString() String
A string representation of this object.
inherited

Operators

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

Constants

codec → const MessageCodec<Object?>