setState method
Switch to a state between
- CaptureMode.photo
- CaptureMode.video
CaptureMode.ANALYSIS
Implementation
@override
void setState(CaptureMode captureMode) {
if (captureMode == CaptureMode.analysis_only) {
return;
}
cameraContext.changeState(captureMode.toCameraState(cameraContext));
}