Class ZoomOverlay
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class ZoomOverlay implements Parcelable
Configuration of the zoom overlay for the review screen.
-
-
Field Summary
Fields Modifier and Type Field Description private ScanbotColoroverlayColorprivate ButtonConfigurationcloseButton
-
Constructor Summary
Constructors Constructor Description ZoomOverlay(Map<String, Object> source)ZoomOverlay(JSONObject json)ZoomOverlay(ScanbotColor overlayColor, ButtonConfiguration closeButton)
-
Method Summary
Modifier and Type Method Description final ScanbotColorgetOverlayColor()The background color of the zoom overlay. final UnitsetOverlayColor(ScanbotColor overlayColor)The background color of the zoom overlay. final ButtonConfigurationgetCloseButton()Configuration of the 'close' button for the zoom overlay. final UnitsetCloseButton(ButtonConfiguration closeButton)Configuration of the 'close' button for the zoom overlay. final JSONObjecttoJson(ToJsonConfiguration config)final ZoomOverlayclone()final static ZoomOverlaydefault()-
-
Constructor Detail
-
ZoomOverlay
ZoomOverlay(JSONObject json)
-
ZoomOverlay
ZoomOverlay(ScanbotColor overlayColor, ButtonConfiguration closeButton)
-
-
Method Detail
-
getOverlayColor
final ScanbotColor getOverlayColor()
The background color of the zoom overlay.
Default is "?sbColorModalOverlay"
-
setOverlayColor
final Unit setOverlayColor(ScanbotColor overlayColor)
The background color of the zoom overlay.
Default is "?sbColorModalOverlay"
-
getCloseButton
final ButtonConfiguration getCloseButton()
Configuration of the 'close' button for the zoom overlay.
-
setCloseButton
final Unit setCloseButton(ButtonConfiguration closeButton)
Configuration of the 'close' button for the zoom overlay.
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final ZoomOverlay clone()
-
default
final static ZoomOverlay default()
-
-
-
-