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 BarcodeAr view settings to use when creating an instance of BarcodeArView.

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 ar view settings.