Package io.scanbot.sdk.ui_v2.common
Class IconUserGuidanceConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class IconUserGuidanceConfiguration implements Parcelable
Configuration of the hint guiding users through the scanning process.
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
visible
private IconStyle
icon
private StyledText
title
private BackgroundStyle
background
-
Constructor Summary
Constructors Constructor Description IconUserGuidanceConfiguration(Map<String, Object> source)
IconUserGuidanceConfiguration(JSONObject json)
IconUserGuidanceConfiguration(Boolean visible, IconStyle icon, StyledText title, BackgroundStyle background)
-
Method Summary
Modifier and Type Method Description final Boolean
getVisible()
Whether the user guidance is visible. final Unit
setVisible(Boolean visible)
Whether the user guidance is visible. final IconStyle
getIcon()
Icon of the user guidance. final Unit
setIcon(IconStyle icon)
Icon of the user guidance. final StyledText
getTitle()
Title of the user guidance. final Unit
setTitle(StyledText title)
Title of the user guidance. final BackgroundStyle
getBackground()
Background style used for the user guidance. final Unit
setBackground(BackgroundStyle background)
Background style used for the user guidance. final JSONObject
toJson()
final static IconUserGuidanceConfiguration
default()
-
-
Constructor Detail
-
IconUserGuidanceConfiguration
IconUserGuidanceConfiguration(JSONObject json)
-
IconUserGuidanceConfiguration
IconUserGuidanceConfiguration(Boolean visible, IconStyle icon, StyledText title, BackgroundStyle background)
-
-
Method Detail
-
getVisible
final Boolean getVisible()
Whether the user guidance is visible. Default is true
-
setVisible
final Unit setVisible(Boolean visible)
Whether the user guidance is visible. Default is true
-
getTitle
final StyledText getTitle()
Title of the user guidance.
-
setTitle
final Unit setTitle(StyledText title)
Title of the user guidance.
-
getBackground
final BackgroundStyle getBackground()
Background style used for the user guidance.
-
setBackground
final Unit setBackground(BackgroundStyle background)
Background style used for the user guidance.
-
toJson
final JSONObject toJson()
-
default
final static IconUserGuidanceConfiguration default()
-
-
-
-