Android Scanbot Barcode SDK API reference
Toggle table of contents
7.1.0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Android Scanbot Barcode SDK API reference
Android Scanbot Barcode SDK API reference
/
io.scanbot.sdk.ui_v2.common
/
IconStyle
Icon
Style
data
class
IconStyle
(
var
visible
:
Boolean
=
true
,
var
color
:
ScanbotColor
=
ScanbotColor("#FFFFFF", isArgb = false)
)
:
Parcelable
Configuration of the icon appearance.
Members
Constructors
Icon
Style
Link copied to clipboard
constructor
(
source
:
Map
<
String
,
Any
?
>
)
constructor
(
json
:
JSONObject
)
constructor
(
visible
:
Boolean
=
true
,
color
:
ScanbotColor
=
ScanbotColor("#FFFFFF", isArgb = false)
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
color
Link copied to clipboard
var
color
:
ScanbotColor
The icon color.
visible
Link copied to clipboard
var
visible
:
Boolean
Determines whether the icon is visible or not.
Functions
clone
Link copied to clipboard
fun
clone
(
)
:
IconStyle
to
Json
Link copied to clipboard
fun
toJson
(
config
:
ToJsonConfiguration
=
ToJsonConfiguration.default()
)
:
JSONObject