Barcode Find View Settings

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

BarcodeFindViewSettings
class BarcodeFindViewSettings

Added in version 6.18.0

BarcodeFindViewSettings()
BarcodeFindViewSettings(int inListItemColor,
        int notInListItemColor,
        boolean soundEnabled,
        boolean hapticEnabled)

Added in version 6.18.0

Constructs a new BarcodeFind view settings to use when creating an instance of the BarcodeFindView.

inListItemColor
int getInListItemColor()

Added in version 6.18.0

The color for the overlay of an item that is in the list of items to find.

Default is #2EC1CE.

notInListItemColor
int getNotInListItemColor()

Added in version 6.18.0

The color for the overlay of an item that is not n the list of items to find.

Default is #FFFFFF.

soundEnabled
boolean getSoundEnabled()

Added in version 6.18.0

Indicates whether audio feedback should be enabled.

Default is true.

hapticEnabled
boolean getHapticEnabled()

Added in version 6.18.0

Indicates whether haptic feedback should be enabled.

Default is true.

toJson()
@NonNull String toJson()

Added in version 6.19.0

Returns the JSON representation of the view settings.