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.util.thread
/
ExecutionUtils
/
ensureMainThread
ensure
Main
Thread
@
JvmStatic
fun
ensureMainThread
(
)
Ensures that method invocation happened on main thread
Throws
Illegal
State
Exception
if current thread is not the main thread