Package-level declarations

Types

Link copied to clipboard

Constants used for internal RTU implementation. Usage is restricted to scanbot.io library group.

Link copied to clipboard
Link copied to clipboard

Base android.app.Activity class for every RTU UI component.

Link copied to clipboard
interface Cancelable

Component can cancel itself or whatever it is that he is doing.

Link copied to clipboard
Link copied to clipboard
sealed class CloseReason

Reason why the scanning was closed.

Link copied to clipboard
data object ForceClose : CloseReason
Link copied to clipboard
Link copied to clipboard
interface Initializable

Component is initializable.

Link copied to clipboard
interface Licensable

Component is licensed.

Link copied to clipboard
Link copied to clipboard

Wrapper-class for all information, obtained as a result of RTU activity work.

Link copied to clipboard
data class SystemError(val message: String) : CloseReason
Link copied to clipboard

Represents an interface of "Condition" for Activity termination

Functions

Link copied to clipboard
fun <I, O : ScanbotActivityResult<*>> <Error class: unknown class>.registerForActivityResultOk(contract: <Error class: unknown class><I, O>, callback: (O) -> Unit): <Error class: unknown class><I>
inline fun <I, O : ScanbotActivityResult<*>> <Error class: unknown class>.registerForActivityResultOk(contract: <Error class: unknown class><I, O>, crossinline callback: (O) -> Unit): <Error class: unknown class><I>

Extension to prevent resultCode checks in your Scanbot RTU result processing blocks.