Package io.anyline2.viewplugin
Class ScanFeedbackConfig
-
- All Implemented Interfaces:
public class ScanFeedbackConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ScanFeedbackConfig.ScanFeedbackStyle
public enum
ScanFeedbackConfig.FeedbackAnimationStyle
-
Field Summary
Fields Modifier and Type Field Description public ScanFeedbackConfig.ScanFeedbackStyle
feedbackStyle
public String
strokeColor
public String
fillColor
public int
strokeWidth
public int
cornerRadius
public int
redrawTimeout
public int
animationDuration
public ScanFeedbackConfig.FeedbackAnimationStyle
animationStyle
public boolean
blinkAnimationOnResult
public boolean
beepOnResult
public boolean
vibrateOnResult
-
Constructor Summary
Constructors Constructor Description ScanFeedbackConfig()
ScanFeedbackConfig(JSONObject jsonObject)
-
Method Summary
Modifier and Type Method Description String
getScanFeedbackStyle()
ScanFeedbackConfig.ScanFeedbackStyle
getScanFeedbackStyle(String style)
String
getAnimationStyle()
ScanFeedbackConfig.FeedbackAnimationStyle
getAnimationStyle(String style)
int
getCornerRadiusInPix(Context context)
int
getStrokeWidthInPix(Context context)
-
-
Constructor Detail
-
ScanFeedbackConfig
ScanFeedbackConfig()
-
ScanFeedbackConfig
ScanFeedbackConfig(JSONObject jsonObject)
-
-
Method Detail
-
getScanFeedbackStyle
String getScanFeedbackStyle()
-
getScanFeedbackStyle
ScanFeedbackConfig.ScanFeedbackStyle getScanFeedbackStyle(String style)
-
getAnimationStyle
String getAnimationStyle()
-
getAnimationStyle
ScanFeedbackConfig.FeedbackAnimationStyle getAnimationStyle(String style)
-
getCornerRadiusInPix
int getCornerRadiusInPix(Context context)
-
getStrokeWidthInPix
int getStrokeWidthInPix(Context context)
-
-
-
-