@@ -33,6 +33,7 @@ final class BarcodeScannerConfig
3333| [`setScanRegion`](#setscanregion) | Sets a scan region where only the barcodes located in the scan region can be decoded. |
3434| [`setTorchButtonVisible`](#settorchbuttonvisible) | Sets whether to display the torch button when scanning or not. |
3535| [`setBeepEnabled`](#setbeepenabled) | Sets whether to trigger a beep sound when a barcode is detected. |
36+ | [`setVibrateEnabled`](#setvibrateenabled) | Sets whether to trigger a vibration when a barcode is detected. |
3637| [`setScanLaserVisible`](#setscanlaservisible) | Sets whether to display a scan laser when scanning. |
3738| [`setAutoZoomEnabled`](#setautozoomenabled) | Sets whether to enable the auto-zoom feature when scanning. |
3839| [`setCloseButtonVisible`](#setclosebuttonvisible) | Sets whether to display a button that can close the scanner page. |
@@ -47,6 +48,7 @@ final class BarcodeScannerConfig
4748| [`getBarcodeFormats`](#getbarcodeformats) | Returns the barcode format(s) that the library will accept. |
4849| [`getScanRegion`](#getscanregion) | Returns the scan region. |
4950| [`isBeepEnabled`](#isbeepenabled) | Returns whether the beep sound is enabled. |
51+ | [`isVibrateEnabled`](#isvibrateenabled) | Returns whether the vibration is enabled. |
5052| [`isScanLaserVisible`](#isscanlaservisible) | Returns whether the scan laser is visible. |
5153| [`isAutoZoomEnabled`](#isautozoomenabled) | Returns whether the auto-zoom feature is enabled. |
5254| [`isCloseButtonVisible`](#isclosebuttonvisible) | Returns whether the close button is visible. |
@@ -139,6 +141,18 @@ void setBeepEnabled(boolean beepEnabled);
139141
140142` beepEnabled ` : A boolean value that determines whether to enable the beep sound.
141143
144+ ### setVibrateEnabled
145+
146+ Sets whether to trigger a vibration when a barcode is detected.
147+
148+ ``` java
149+ void setVibrateEnabled(boolean vibrateEnabled);
150+ ```
151+
152+ ** Parameter(s)**
153+
154+ ` vibrateEnabled ` : A boolean value that determines whether to enable the vibration.
155+
142156### setScanLaserVisible
143157
144158Sets whether to display a scan laser when scanning.
@@ -211,6 +225,18 @@ void setCameraToggleButtonVisible(boolean cameraToggleButtonVisible);
211225
212226` cameraToggleButtonVisible ` : A boolean value that determines whether to display the camera toggle button.
213227
228+ ### setZoomFactor
229+
230+ Sets the zoom factor.
231+
232+ ``` java
233+ void setZoomFactor(float zoomFactor);
234+ ```
235+
236+ ** Parameter(s)**
237+
238+ ` zoomFactor ` : The zoom factor.
239+
214240### getLicense
215241
216242Returns the license key string.
@@ -295,6 +321,18 @@ boolean isBeepEnabled();
295321
296322A boolean value that determines whether the beep sound is enabled.
297323
324+ ### isVibrateEnabled
325+
326+ Returns a boolean indicating whether or not the vibration is enabled.
327+
328+ ``` java
329+ boolean isVibrateEnabled();
330+ ```
331+
332+ ** Return Value**
333+
334+ A boolean value that determines whether the vibration is enabled.
335+
298336### isScanLaserVisible
299337
300338Returns a boolean indicating whether or not the scan laser is visible.
@@ -366,3 +404,15 @@ boolean isCameraToggleButtonVisible();
366404** Return Value**
367405
368406A boolean value that determines whether the camera toggle button is displayed.
407+
408+ ### getZoomFactor
409+
410+ Returns the zoom factor.
411+
412+ ``` java
413+ float getZoomFactor();
414+ ```
415+
416+ ** Return Value**
417+
418+ ` zoomFactor ` : The zoom factor.
0 commit comments