VideoRecordingCameraState class Null safety

When Camera is in Video mode

Inheritance

Constructors

VideoRecordingCameraState({required CameraContext cameraContext, required FilePathBuilder filePathBuilder})
VideoRecordingCameraState.from(CameraContext orchestrator)
factory

Properties

analysisController AnalysisController?
read-onlyinherited
cameraContext ↔ CameraContext
read / writeinherited
captureMode CaptureMode
read-onlyoverride
captureState$ Stream<MediaCapture?>
Use this stream to listen for capture state
read-onlyinherited
filePathBuilder FilePathBuilder
final
filter AwesomeFilter
read-onlyinherited
filter$ Stream<AwesomeFilter>
read-onlyinherited
filterSelectorOpened$ Stream<bool>
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
saveConfig SaveConfig
read-onlyinherited
sensorConfig SensorConfig
The sensor config allows you to
read-onlyinherited
sensorConfig$ Stream<SensorConfig>
read-onlyinherited

Methods

dispose() → void
Closes streams depending on the current state
override
enableAudio(bool enableAudio) Future<void>
If video recording should enableAudio.
focus() → dynamic
focusOnPoint({required Offset flutterPosition, required PreviewSize pixelPreviewSize, required PreviewSize flutterPreviewSize, AndroidFocusSettings? androidFocusSettings}) Future<void>
getSensors() Future<SensorDeviceData>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
pauseRecording(MediaCapture currentCapture) Future<void>
Pauses a video recording. startRecording must have been called before. Call resumeRecording to resume the capture.
previewSize() Future<PreviewSize>
inherited
resumeRecording(MediaCapture currentCapture) Future<void>
Resumes a video recording. pauseRecording must have been called before.
setFilter(AwesomeFilter newFilter) Future<void>
inherited
setSensorType(SensorType type, String deviceId) → void
inherited
setState(CaptureMode captureMode) → void
Switch to a state between
override
stopRecording() Future<void>
switchCameraSensor({CameraAspectRatios? aspectRatio, double? zoom, FlashMode? flash, SensorType? type}) Future<void>
Switch camera from Sensors.BACK Sensors.front All states can switch this
inherited
textureId() Future<int?>
inherited
toggleFilterSelector() → void
inherited
toString() String
A string representation of this object.
inherited
when({OnVideoMode? onVideoMode, OnPhotoMode? onPhotoMode, OnPreparingCamera? onPreparingCamera, OnVideoRecordingMode? onVideoRecordingMode}) → dynamic
inherited

Operators

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