VibrationFeedback

class VibrationFeedback : BaseScanResultFeedback, IVibrationFeedback

Use this if you want vibration when barcode is scanned.

If you need to skip vibration, use com.samsung.android.knox.smartscan.preview.filter.BarcodeFilter.

Since

1.0.0

See also

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open override fun handleBarcodes(barcodeResult: BarcodeResult, environmentData: EnvironmentData)

This interface describes what to do when the engine detected the barcode

Link copied to clipboard
open override fun setManualMode(manualMode: Boolean)

Set true if you need to control vibration manually.

Link copied to clipboard
open override fun vibrate()

Call this method if you want vibration immediately.