CameraState class Null safety

Implementers

Constructors

CameraState(CameraContext cameraContext)

Properties

analysisController AnalysisController?
read-only
cameraContext ↔ CameraContext
read / write
captureMode CaptureMode?
final
captureState$ Stream<MediaCapture?>
Use this stream to listen for capture state
read-only
filter AwesomeFilter
read-only
filter$ Stream<AwesomeFilter>
read-only
filterSelectorOpened$ Stream<bool>
read-only
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-only
sensorConfig SensorConfig
The sensor config allows you to
read-only
sensorConfig$ Stream<SensorConfig>
read-only

Methods

dispose() → void
Closes streams depending on the current state
getSensors() Future<SensorDeviceData>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
previewSize() Future<PreviewSize>
setFilter(AwesomeFilter newFilter) Future<void>
setSensorType(SensorType type, String deviceId) → void
setState(CaptureMode captureMode) → void
Switch to a state between
switchCameraSensor({CameraAspectRatios? aspectRatio, double? zoom, FlashMode? flash, SensorType? type}) Future<void>
Switch camera from Sensors.BACK Sensors.front All states can switch this
textureId() Future<int?>
toggleFilterSelector() → void
toString() String
A string representation of this object.
inherited
when({OnVideoMode? onVideoMode, OnPhotoMode? onPhotoMode, OnPreparingCamera? onPreparingCamera, OnVideoRecordingMode? onVideoRecordingMode}) → dynamic

Operators

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