Package io.anyline2.viewplugin
Class ScanFeedbackConfig
-
- All Implemented Interfaces:
public class ScanFeedbackConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumScanFeedbackConfig.ScanFeedbackStylepublic enumScanFeedbackConfig.FeedbackAnimationStyle
-
Field Summary
Fields Modifier and Type Field Description public ScanFeedbackConfig.ScanFeedbackStylefeedbackStylepublic StringstrokeColorpublic StringfillColorpublic intstrokeWidthpublic intcornerRadiuspublic intredrawTimeoutpublic intanimationDurationpublic ScanFeedbackConfig.FeedbackAnimationStyleanimationStylepublic booleanblinkAnimationOnResultpublic booleanbeepOnResultpublic booleanvibrateOnResult
-
Constructor Summary
Constructors Constructor Description ScanFeedbackConfig()ScanFeedbackConfig(JSONObject jsonObject)
-
Method Summary
Modifier and Type Method Description StringgetScanFeedbackStyle()ScanFeedbackConfig.ScanFeedbackStylegetScanFeedbackStyle(String style)StringgetAnimationStyle()ScanFeedbackConfig.FeedbackAnimationStylegetAnimationStyle(String style)intgetCornerRadiusInPix(Context context)intgetStrokeWidthInPix(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)
-
-
-
-