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(List<String?> arg_permissions) 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(int arg_index) Future<PreviewSize?>
getFrontSensors() Future<List<PigeonSensorTypeDevice?>>
getMaxZoom() Future<double>
getMinZoom() Future<double>
getPreviewTextureId(int arg_cameraPosition) Future<int>
handleAutoFocus() Future<void>
isMultiCamSupported() Future<bool>
isVideoRecordingAndImageAnalysisSupported(PigeonSensorPosition 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(List<PigeonSensor?> arg_sensors, List<String?> arg_paths) 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(List<PigeonSensor?> arg_sensors) Future<void>
setupCamera(List<PigeonSensor?> arg_sensors, String arg_aspectRatio, double arg_zoom, bool arg_mirrorFrontCamera, bool arg_enablePhysicalButton, String arg_flashMode, String arg_captureMode, bool arg_enableImageStream, ExifPreferences arg_exifPreferences, VideoOptions? arg_videoOptions) 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(List<PigeonSensor?> arg_sensors, List<String?> arg_paths) 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?>