Scanbot SDK – Kotlin Multiplatform
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Scanbot SDK – Kotlin Multiplatform
kmp-bundle-sdk
/
io.scanbot.sdk.kmp.barcode
/
BarcodeScannerResult
Barcode
Scanner
Result
data
class
BarcodeScannerResult
(
val
barcodes
:
List
<
BarcodeItem
>
,
val
success
:
Boolean
)
:
AutoCloseable
The result of barcode scanning.
Members
Constructors
Barcode
Scanner
Result
Link copied to clipboard
constructor
(
barcodes
:
List
<
BarcodeItem
>
,
success
:
Boolean
)
constructor
(
source
:
Map
<
String
,
Any
?
>
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
barcodes
Link copied to clipboard
val
barcodes
:
List
<
BarcodeItem
>
List of found barcodes.
success
Link copied to clipboard
val
success
:
Boolean
True if any barcodes were found.
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
to
Json
Link copied to clipboard
fun
toJson
(
config
:
ToJsonConfiguration
=
ToJsonConfiguration.default()
)
:
JsonObject
to
Json
String
Link copied to clipboard
fun
toJsonString
(
config
:
ToJsonConfiguration
=
ToJsonConfiguration.default()
)
:
String