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 ScanbotColor
overlayColor
private ButtonConfiguration
closeButton
-
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 ScanbotColor
getOverlayColor()
The background color of the zoom overlay. final Unit
setOverlayColor(ScanbotColor overlayColor)
The background color of the zoom overlay. final ButtonConfiguration
getCloseButton()
Configuration of the 'close' button for the zoom overlay. final Unit
setCloseButton(ButtonConfiguration closeButton)
Configuration of the 'close' button for the zoom overlay. final JSONObject
toJson()
final static ZoomOverlay
default()
-
-
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()
-
default
final static ZoomOverlay default()
-
-
-
-