Class ScanFeedbackConfig
-
- All Implemented Interfaces:
-
java.io.Serializable
public class ScanFeedbackConfig implements Serializable
Schema for SDK ScanFeedback Configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumScanFeedbackConfig.AnimationThe animation style of the feedback.
public enumScanFeedbackConfig.StyleThe style of the feedback.
-
Field Summary
Fields Modifier and Type Field Description public ScanFeedbackConfig.Stylestylepublic ScanFeedbackConfig.Animationanimationpublic IntegerredrawTimeoutpublic IntegercornerRadiuspublic IntegeranimationDurationpublic IntegerstrokeWidthpublic StringstrokeColorpublic StringfillColorpublic BooleanbeepOnResultpublic BooleanblinkAnimationOnResultpublic BooleanvibrateOnResult
-
Constructor Summary
Constructors Constructor Description ScanFeedbackConfig()
-
Method Summary
Modifier and Type Method Description ScanFeedbackConfig.StylegetStyle()The style of the feedback. voidsetStyle(ScanFeedbackConfig.Style style)The style of the feedback. ScanFeedbackConfig.AnimationgetAnimation()The animation style of the feedback. voidsetAnimation(ScanFeedbackConfig.Animation animation)The animation style of the feedback. IntegergetRedrawTimeout()The timeout to redraw the visual feedback in milliseconds. voidsetRedrawTimeout(Integer redrawTimeout)The timeout to redraw the visual feedback in milliseconds. IntegergetCornerRadius()The corner radius of the visual feedback. voidsetCornerRadius(Integer cornerRadius)The corner radius of the visual feedback. IntegergetAnimationDuration()The duration of the animation in milliseconds. voidsetAnimationDuration(Integer animationDuration)The duration of the animation in milliseconds. IntegergetStrokeWidth()The stroke width. voidsetStrokeWidth(Integer strokeWidth)The stroke width. StringgetStrokeColor()The stroke color. voidsetStrokeColor(String strokeColor)The stroke color. StringgetFillColor()The fill color. voidsetFillColor(String fillColor)The fill color. BooleangetBeepOnResult()If true, make a beep sound when a result is found. voidsetBeepOnResult(Boolean beepOnResult)If true, make a beep sound when a result is found. BooleangetBlinkAnimationOnResult()If true, flash the view when a result is found. voidsetBlinkAnimationOnResult(Boolean blinkAnimationOnResult)If true, flash the view when a result is found. BooleangetVibrateOnResult()If true, vibrate the device when a result is found. voidsetVibrateOnResult(Boolean vibrateOnResult)If true, vibrate the device when a result is found. StringtoString()inthashCode()booleanequals(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()
-
-
-
-