Package io.scanbot.sdk.ui_v2.common
Class Vibration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Vibration implements Parcelable
Vibration configuration.
-
-
Method Summary
Modifier and Type Method Description final Boolean
getEnabled()
Enable or disable vibration when a barcode is detected. final Unit
setEnabled(Boolean enabled)
Enable or disable vibration when a barcode is detected. final JSONObject
toJson()
final static Vibration
default()
-
-
Constructor Detail
-
Vibration
Vibration(JSONObject json)
-
Vibration
Vibration(Boolean enabled)
-
-
Method Detail
-
getEnabled
final Boolean getEnabled()
Enable or disable vibration when a barcode is detected. Default is false
-
setEnabled
final Unit setEnabled(Boolean enabled)
Enable or disable vibration when a barcode is detected. Default is false
-
toJson
final JSONObject toJson()
-
-
-
-