Class ScanFeedbackConfig
-
- All Implemented Interfaces:
public class ScanFeedbackConfig
Schema for SDK ScanFeedback Configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ScanFeedbackConfig.Animation
The animation style of the feedback.
public enum
ScanFeedbackConfig.Style
The style of the feedback.
-
Field Summary
Fields Modifier and Type Field Description public ScanFeedbackConfig.Style
style
public ScanFeedbackConfig.Animation
animation
public Integer
redrawTimeout
public Integer
cornerRadius
public Integer
animationDuration
public Integer
strokeWidth
public String
strokeColor
public String
fillColor
public Boolean
beepOnResult
public Boolean
blinkAnimationOnResult
public Boolean
vibrateOnResult
-
Constructor Summary
Constructors Constructor Description ScanFeedbackConfig()
-
Method Summary
Modifier and Type Method Description ScanFeedbackConfig.Style
getStyle()
The style of the feedback. void
setStyle(ScanFeedbackConfig.Style style)
The style of the feedback. ScanFeedbackConfig.Animation
getAnimation()
The animation style of the feedback. void
setAnimation(ScanFeedbackConfig.Animation animation)
The animation style of the feedback. Integer
getRedrawTimeout()
The timeout to redraw the visual feedback in milliseconds. void
setRedrawTimeout(Integer redrawTimeout)
The timeout to redraw the visual feedback in milliseconds. Integer
getCornerRadius()
The corner radius of the visual feedback. void
setCornerRadius(Integer cornerRadius)
The corner radius of the visual feedback. Integer
getAnimationDuration()
The duration of the animation in milliseconds. void
setAnimationDuration(Integer animationDuration)
The duration of the animation in milliseconds. Integer
getStrokeWidth()
The stroke width. void
setStrokeWidth(Integer strokeWidth)
The stroke width. String
getStrokeColor()
The stroke color. void
setStrokeColor(String strokeColor)
The stroke color. String
getFillColor()
The fill color. void
setFillColor(String fillColor)
The fill color. Boolean
getBeepOnResult()
If true, make a beep sound when a result is found. void
setBeepOnResult(Boolean beepOnResult)
If true, make a beep sound when a result is found. Boolean
getBlinkAnimationOnResult()
If true, flash the view when a result is found. void
setBlinkAnimationOnResult(Boolean blinkAnimationOnResult)
If true, flash the view when a result is found. Boolean
getVibrateOnResult()
If true, vibrate the device when a result is found. void
setVibrateOnResult(Boolean vibrateOnResult)
If true, vibrate the device when a result is found. String
toString()
int
hashCode()
boolean
equals(Object other)
-
-
Method Detail
-
getStyle
ScanFeedbackConfig.Style getStyle()
The style of the feedback.
-
setStyle
void setStyle(ScanFeedbackConfig.Style style)
The style of the feedback.
-
getAnimation
ScanFeedbackConfig.Animation getAnimation()
The animation style of the feedback.
-
setAnimation
void setAnimation(ScanFeedbackConfig.Animation animation)
The animation style of the feedback.
-
getRedrawTimeout
Integer getRedrawTimeout()
The timeout to redraw the visual feedback in milliseconds.
-
setRedrawTimeout
void setRedrawTimeout(Integer redrawTimeout)
The timeout to redraw the visual feedback in milliseconds.
-
getCornerRadius
Integer getCornerRadius()
The corner radius of the visual feedback.
-
setCornerRadius
void setCornerRadius(Integer cornerRadius)
The corner radius of the visual feedback.
-
getAnimationDuration
Integer getAnimationDuration()
The duration of the animation in milliseconds.
-
setAnimationDuration
void setAnimationDuration(Integer animationDuration)
The duration of the animation in milliseconds.
-
getStrokeWidth
Integer getStrokeWidth()
The stroke width.
-
setStrokeWidth
void setStrokeWidth(Integer strokeWidth)
The stroke width.
-
getStrokeColor
String getStrokeColor()
The stroke color.
-
setStrokeColor
void setStrokeColor(String strokeColor)
The stroke color.
-
getFillColor
String getFillColor()
The fill color.
-
setFillColor
void setFillColor(String fillColor)
The fill color.
-
getBeepOnResult
Boolean getBeepOnResult()
If true, make a beep sound when a result is found.
-
setBeepOnResult
void setBeepOnResult(Boolean beepOnResult)
If true, make a beep sound when a result is found.
-
getBlinkAnimationOnResult
Boolean getBlinkAnimationOnResult()
If true, flash the view when a result is found.
-
setBlinkAnimationOnResult
void setBlinkAnimationOnResult(Boolean blinkAnimationOnResult)
If true, flash the view when a result is found.
-
getVibrateOnResult
Boolean getVibrateOnResult()
If true, vibrate the device when a result is found.
-
setVibrateOnResult
void setVibrateOnResult(Boolean vibrateOnResult)
If true, vibrate the device when a result is found.
-
hashCode
int hashCode()
-
-
-
-