Package io.scanbot.sdk.ui_v2.common
Class Sound
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Sound implements Parcelable
Sound configuration.
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
successBeepEnabled
private SoundType
soundType
-
Method Summary
Modifier and Type Method Description final Boolean
getSuccessBeepEnabled()
Enable or disable the beep sound when a barcode is detected. final Unit
setSuccessBeepEnabled(Boolean successBeepEnabled)
Enable or disable the beep sound when a barcode is detected. final SoundType
getSoundType()
The beep type. final Unit
setSoundType(SoundType soundType)
The beep type. final JSONObject
toJson()
final static Sound
default()
-
-
Method Detail
-
getSuccessBeepEnabled
final Boolean getSuccessBeepEnabled()
Enable or disable the beep sound when a barcode is detected. Default is true
-
setSuccessBeepEnabled
final Unit setSuccessBeepEnabled(Boolean successBeepEnabled)
Enable or disable the beep sound when a barcode is detected. Default is true
-
getSoundType
final SoundType getSoundType()
The beep type. Default is MODERN_BEEP
-
setSoundType
final Unit setSoundType(SoundType soundType)
The beep type. Default is MODERN_BEEP
-
toJson
final JSONObject toJson()
-
-
-
-