Package-level declarations

Types

Link copied to clipboard
class Task<T>

When interacting with the scanner, we usually don't want to block the main thread Instead we want to e.g. update the UI and use the result once it is available

Link copied to clipboard
interface TaskCallback<T>

Functions

Link copied to clipboard
fun Exception.handle(tag: String? = null, severity: Int = Log.ERROR)

Handles an exception by executing the custom exception handler lambda passed to setCustomExceptionHandler. If no custom handler is set, the exception is logged to Android's logcat.

Link copied to clipboard

Sets a custom handler to manage exceptions.