Class PageSnapCheckMarkAnimation
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class PageSnapCheckMarkAnimation extends PageSnapFeedbackMode implements Parcelable
Configuration of the check mark animation.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
_type
private ScanbotColor
overlayColor
private ScanbotColor
checkMarkBackgroundColor
private ScanbotColor
checkMarkColor
-
Constructor Summary
Constructors Constructor Description PageSnapCheckMarkAnimation(Map<String, Object> source)
PageSnapCheckMarkAnimation(JSONObject json)
PageSnapCheckMarkAnimation(ScanbotColor overlayColor, ScanbotColor checkMarkBackgroundColor, ScanbotColor checkMarkColor)
-
Method Summary
Modifier and Type Method Description String
get_type()
final ScanbotColor
getOverlayColor()
The overlay color for the check mark animation. final Unit
setOverlayColor(ScanbotColor overlayColor)
The overlay color for the check mark animation. final ScanbotColor
getCheckMarkBackgroundColor()
The background color for the check mark animation. final Unit
setCheckMarkBackgroundColor(ScanbotColor checkMarkBackgroundColor)
The background color for the check mark animation. final ScanbotColor
getCheckMarkColor()
The check mark color for the check mark animation. final Unit
setCheckMarkColor(ScanbotColor checkMarkColor)
The check mark color for the check mark animation. JSONObject
toJson()
final static PageSnapCheckMarkAnimation
default()
-
-
Constructor Detail
-
PageSnapCheckMarkAnimation
PageSnapCheckMarkAnimation(JSONObject json)
-
PageSnapCheckMarkAnimation
PageSnapCheckMarkAnimation(ScanbotColor overlayColor, ScanbotColor checkMarkBackgroundColor, ScanbotColor checkMarkColor)
-
-
Method Detail
-
getOverlayColor
final ScanbotColor getOverlayColor()
The overlay color for the check mark animation. Default is "?sbColorModalOverlay"
-
setOverlayColor
final Unit setOverlayColor(ScanbotColor overlayColor)
The overlay color for the check mark animation. Default is "?sbColorModalOverlay"
-
getCheckMarkBackgroundColor
final ScanbotColor getCheckMarkBackgroundColor()
The background color for the check mark animation. Default is "?sbColorOutline"
-
setCheckMarkBackgroundColor
final Unit setCheckMarkBackgroundColor(ScanbotColor checkMarkBackgroundColor)
The background color for the check mark animation. Default is "?sbColorOutline"
-
getCheckMarkColor
final ScanbotColor getCheckMarkColor()
The check mark color for the check mark animation. Default is "#00000000"
-
setCheckMarkColor
final Unit setCheckMarkColor(ScanbotColor checkMarkColor)
The check mark color for the check mark animation. Default is "#00000000"
-
toJson
JSONObject toJson()
-
default
final static PageSnapCheckMarkAnimation default()
-
-
-
-