SBSScanCaseState.h File Reference

Go to the source code of this file.

Enumerations

enum  SBSScanCaseState { SBSScanCaseStateOff = 0, SBSScanCaseStateStandby = 1 << 0, SBSScanCaseStateActive = 1 << 1 }
 
enum  SBSScanCaseStateChangeReason { SBSScanCaseStateChangeReasonManual = 0, SBSScanCaseStateChangeReasonTimeout = 1 << 0, SBSScanCaseStateChangeReasonVolumeButton = 1 << 1 }
 

Enumeration Type Documentation

Enumerates the possible state for the scan case

Since
4.13.0
Enumerator
SBSScanCaseStateOff 

Camera is off, torch is off.

SBSScanCaseStateStandby 

Camera is on but with throttled frame-rate, scanner is off, torch is off.

SBSScanCaseStateActive 

Camera is on, scanner is on, torch is on.

Enumerates the possible reasons for which the scan case state has changed

Since
4.13.0
Enumerator
SBSScanCaseStateChangeReasonManual 

The state was changed directly.

SBSScanCaseStateChangeReasonTimeout 

The change of state was driven by a timeout.

SBSScanCaseStateChangeReasonVolumeButton 

The change of state was driven by the volume button.