Sound

data class Sound(var successBeepEnabled: Boolean = true, var soundType: SoundType = SoundType.MODERN_BEEP) : Parcelable

Configuration for the sound.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(successBeepEnabled: Boolean = true, soundType: SoundType = SoundType.MODERN_BEEP)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Determines the successful detection sound.

Link copied to clipboard

Determine whether the beep sound should be enabled or not when a barcode is detected.

Functions

Link copied to clipboard
fun clone(): Sound
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject