Barcode AR View Settings

Defined in package com.scandit.datacapture.barcode.ar.ui

BarcodeArViewSettings
class BarcodeArViewSettings

Added in version 7.1.0

BarcodeArViewSettings()
BarcodeArViewSettings()

Added in version 7.1.0

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

soundEnabled
var soundEnabled: Boolean

Added in version 7.1.0

Indicates whether the feedback should have sound enabled.

Default is true.

hapticEnabled
var hapticEnabled: Boolean

Added in version 7.1.0

Indicates whether the feedback should have haptics enabled.

Default is true.

defaultCameraPosition
var defaultCameraPosition: CameraPosition

Added in version 7.1.0

Sets the default camera position.

Default is CameraPosition.WORLD_FACING.

toJson()
fun toJson(): String

Added in version 7.1.0

Returns the JSON representation of the Barcode AR view settings.