public final class AndroidInteropSchedulers
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static io.reactivex.rxjava3.core.Scheduler |
from(android.os.Looper looper)
A
Scheduler which executes actions on looper. |
static io.reactivex.rxjava3.core.Scheduler |
from(android.os.Looper looper,
boolean async)
A
Scheduler which executes actions on looper. |
static io.reactivex.rxjava3.core.Scheduler |
mainThread()
A
Scheduler which executes actions on the Android main thread. |
public static io.reactivex.rxjava3.core.Scheduler mainThread()
Scheduler which executes actions on the Android main thread.public static io.reactivex.rxjava3.core.Scheduler from(android.os.Looper looper)
Scheduler which executes actions on looper.public static io.reactivex.rxjava3.core.Scheduler from(android.os.Looper looper,
boolean async)
Scheduler which executes actions on looper.async - if true, the scheduler will use async messaging on API >= 16 to avoid VSYNC
locking. On API < 16 this value is ignored.Message.setAsynchronous(boolean)