Barcode AR View Settings

Defined in framework ScanditBarcodeCapture

BarcodeArViewSettings
open class BarcodeArViewSettings : NSObject

Added in version 7.1.0

init
init()

Added in version 7.1.0

Constructs a new Barcode AR view settings to use when creating an instance of BarcodeArView.

soundEnabled
open var soundEnabled: Bool { get, set }

Added in version 7.1.0

Indicates whether the feedback should have sound enabled.

Default is true.

hapticEnabled
open var hapticEnabled: Bool { get, set }

Added in version 7.1.0

Indicates whether the feedback should have haptics enabled.

Default is true.

defaultCameraPosition
open var defaultCameraPosition: CameraPosition { get, set }

Added in version 7.1.0

Sets the default camera position.

Default is CameraPosition.worldFacing.

jsonString
open var jsonString: String { get }

Added in version 7.1.0

Returns the JSON representation of the Barcode AR view settings.