Barcode Check View Settings

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

BarcodeCheckViewSettings
class BarcodeCheckViewSettings

Added in version 7.1.0

BarcodeCheckViewSettings()
BarcodeCheckViewSettings()

Added in version 7.1.0

Constructs a new BarcodeCheck view settings to use when creating an instance of BarcodeCheckView.

soundEnabled
boolean getSoundEnabled()
void setSoundEnabled(boolean value)

Added in version 7.1.0

Indicates whether the feedback should have sound enabled.

Default is true.

hapticEnabled
boolean getHapticEnabled()
void setHapticEnabled(boolean value)

Added in version 7.1.0

Indicates whether the feedback should have haptics enabled.

Default is true.

defaultCameraPosition
CameraPosition getDefaultCameraPosition()
void setDefaultCameraPosition(CameraPosition value)

Added in version 7.1.0

Sets the default camera position.

Default is CameraPosition.WORLD_FACING.

toJson()
@NonNull String toJson()

Added in version 7.1.0

Returns the JSON representation of the barcode check view settings.