SBSDKShutterMode

enum SBSDKShutterMode {}

This enum describes the possible modes of the cameras shutter. Automatic shutter means, a photo is taken automatically if a document was detected in the video stream. The smart mode is the default mode. Whenever the automatic shutter is toggled the delegate of SBSDKScannerViewController is informed. You can also the query the autoShutterEnabled property. The default shutter button reflects this mode.

  • Toggles the automatic shutter in a smart way. If there, for 3 seconds, is no significant device motion and no document was detected the automatic snapping is turned off. Significant device motion turns it on again.

    Declaration

    Objective-C

    SBSDKShutterModeSmart = 0

    Swift

    case smart = 0
  • The camera will always take a photo automatically when a document was detected.

    Declaration

    Objective-C

    SBSDKShutterModeAlwaysAuto = 1

    Swift

    case alwaysAuto = 1
  • The camera will never take a photo automatically.

    Declaration

    Objective-C

    SBSDKShutterModeAlwaysManual = 2

    Swift

    case alwaysManual = 2