toggle menu
snabble Android SDK API Documentation
androidJvm
switch theme
search in API
utils
/
io.snabble.sdk.utils
/
Dispatch
Dispatch
open
class
Dispatch
Members
Constructors
Dispatch
Link copied to clipboard
constructor
(
)
Types
Main
Thread
Handler
Link copied to clipboard
interface
MainThreadHandler
Functions
background
Link copied to clipboard
open
fun
background
(
runnable
:
Runnable
)
:
Future
<
out
Any
>
open
fun
background
(
runnable
:
Runnable
,
delayMs
:
Long
)
:
Future
<
out
Any
>
io
Link copied to clipboard
open
fun
io
(
runnable
:
Runnable
)
:
Future
<
out
Any
>
main
Thread
Link copied to clipboard
open
fun
mainThread
(
runnable
:
Runnable
)
open
fun
mainThread
(
runnable
:
Runnable
,
delayMs
:
Long
)
set
Main
Thread
Handler
Link copied to clipboard
open
fun
setMainThreadHandler
(
handler
:
Dispatch.MainThreadHandler
)