Android Scanbot SDK API reference
Toggle table of contents
7.1.0
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
Android Scanbot SDK API reference
Android Scanbot SDK API reference
/
io.scanbot.sdk.barcode
/
BarcodeScannerResult
Barcode
Scanner
Result
data
class
BarcodeScannerResult
(
val
barcodes
:
List
<
BarcodeItem
>
,
val
success
:
Boolean
)
:
AutoCloseable
,
Parcelable
The result of barcode scanning.
Members
Constructors
Barcode
Scanner
Result
Link copied to clipboard
constructor
(
source
:
Map
<
String
,
Any
?
>
)
constructor
(
json
:
JSONObject
)
constructor
(
barcodes
:
List
<
BarcodeItem
>
,
success
:
Boolean
)
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
clone
Link copied to clipboard
fun
clone
(
)
:
BarcodeScannerResult
close
Link copied to clipboard
open
override
fun
close
(
)
to
Json
Link copied to clipboard
fun
toJson
(
config
:
ToJsonConfiguration
=
ToJsonConfiguration.default()
)
:
JSONObject