CameraState class abstract
Constructors
- CameraState(CameraContext cameraContext)
Properties
- analysisController → AnalysisController?
-
no setter
- cameraContext ↔ CameraContext
-
getter/setter pair
- captureMode → CaptureMode?
-
final
- captureState → MediaCapture?
-
no setter
-
captureState$
→ Stream<
MediaCapture?> -
Use this stream to listen for capture state
no setter
- filter → AwesomeFilter
-
no setter
-
filter$
→ Stream<
AwesomeFilter> -
no setter
-
filterSelectorOpened$
→ Stream<
bool> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saveConfig → SaveConfig?
-
no setter
- sensorConfig → SensorConfig
-
The sensor config allows you to
no setter
-
sensorConfig$
→ Stream<
SensorConfig> -
no setter
Methods
-
dispose(
) → void - Closes streams depending on the current state
-
getSensors(
) → Future< SensorDeviceData> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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, OnPreviewMode? onPreviewMode, OnAnalysisOnlyMode? onAnalysisOnlyMode}) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited