Scanbot SDK – Kotlin Multiplatform
Toggle table of contents
android
common
ios
Target filter
android
common
ios
Switch theme
Search in API
Skip to content
Scanbot SDK – Kotlin Multiplatform
kmp-barcode-sdk
/
io.scanbot.sdk.kmp.image
/
ImageRef
Image
Ref
android
common
ios
actual
class
ImageRef
(
val
uniqueId
:
UUID
)
:
AutoCloseable
expect
class
ImageRef
(
uniqueId
:
UUID
)
:
AutoCloseable
actual
class
ImageRef
(
val
uniqueId
:
UUID
)
:
AutoCloseable
Members
Constructors
Image
Ref
Link copied to clipboard
android
common
ios
actual
constructor
(
uniqueId
:
UUID
)
expect
constructor
(
uniqueId
:
UUID
)
actual
constructor
(
uniqueId
:
UUID
)
Types
Companion
Link copied to clipboard
android
common
ios
actual
object
Companion
expect
object
Companion
actual
object
Companion
Properties
native
Ref
Link copied to clipboard
android
ios
val
nativeRef
:
ImageRef
val
nativeRef
:
SBSDKImageRef
unique
Id
Link copied to clipboard
android
common
ios
actual
val
uniqueId
:
UUID
expect
val
uniqueId
:
UUID
actual
val
uniqueId
:
UUID
Functions
close
Link copied to clipboard
android
common
ios
actual
open
override
fun
close
(
)
expect
open
override
fun
close
(
)
actual
open
override
fun
close
(
)
encode
Link copied to clipboard
android
common
ios
actual
fun
encode
(
options
:
EncodeImageOptions
)
:
Result
<
ByteArray
>
expect
fun
encode
(
options
:
EncodeImageOptions
=
EncodeImageOptions()
)
:
Result
<
ByteArray
>
actual
fun
encode
(
options
:
EncodeImageOptions
)
:
Result
<
ByteArray
>
info
Link copied to clipboard
android
common
ios
actual
fun
info
(
)
:
Result
<
ImageInfo
>
expect
fun
info
(
)
:
Result
<
ImageInfo
>
actual
fun
info
(
)
:
Result
<
ImageInfo
>
save
Link copied to clipboard
android
common
ios
actual
fun
save
(
path
:
String
,
options
:
SaveImageOptions
)
:
Result
<
Unit
>
expect
fun
save
(
path
:
String
,
options
:
SaveImageOptions
=
SaveImageOptions()
)
:
Result
<
Unit
>
actual
fun
save
(
path
:
String
,
options
:
SaveImageOptions
)
:
Result
<
Unit
>
to
Json
Link copied to clipboard
android
common
ios
actual
fun
toJson
(
mode
:
ImageSerializationMode
)
:
JsonObject
expect
fun
toJson
(
mode
:
ImageSerializationMode
)
:
JsonObject
actual
fun
toJson
(
mode
:
ImageSerializationMode
)
:
JsonObject