public final class RxAndroidPlugins extends Object
| Modifier and Type | Method and Description |
|---|---|
static io.reactivex.rxjava3.functions.Function<Callable<io.reactivex.rxjava3.core.Scheduler>,io.reactivex.rxjava3.core.Scheduler> |
getInitMainThreadSchedulerHandler()
Returns the current hook function.
|
static io.reactivex.rxjava3.functions.Function<io.reactivex.rxjava3.core.Scheduler,io.reactivex.rxjava3.core.Scheduler> |
getOnMainThreadSchedulerHandler()
Returns the current hook function.
|
static io.reactivex.rxjava3.core.Scheduler |
initMainThreadScheduler(Callable<io.reactivex.rxjava3.core.Scheduler> scheduler) |
static io.reactivex.rxjava3.core.Scheduler |
onMainThreadScheduler(io.reactivex.rxjava3.core.Scheduler scheduler) |
static void |
reset()
Removes all handlers and resets the default behavior.
|
static void |
setInitMainThreadSchedulerHandler(io.reactivex.rxjava3.functions.Function<Callable<io.reactivex.rxjava3.core.Scheduler>,io.reactivex.rxjava3.core.Scheduler> handler) |
static void |
setMainThreadSchedulerHandler(io.reactivex.rxjava3.functions.Function<io.reactivex.rxjava3.core.Scheduler,io.reactivex.rxjava3.core.Scheduler> handler) |
public static void setInitMainThreadSchedulerHandler(io.reactivex.rxjava3.functions.Function<Callable<io.reactivex.rxjava3.core.Scheduler>,io.reactivex.rxjava3.core.Scheduler> handler)
public static io.reactivex.rxjava3.core.Scheduler initMainThreadScheduler(Callable<io.reactivex.rxjava3.core.Scheduler> scheduler)
public static void setMainThreadSchedulerHandler(io.reactivex.rxjava3.functions.Function<io.reactivex.rxjava3.core.Scheduler,io.reactivex.rxjava3.core.Scheduler> handler)
public static io.reactivex.rxjava3.core.Scheduler onMainThreadScheduler(io.reactivex.rxjava3.core.Scheduler scheduler)
public static io.reactivex.rxjava3.functions.Function<Callable<io.reactivex.rxjava3.core.Scheduler>,io.reactivex.rxjava3.core.Scheduler> getInitMainThreadSchedulerHandler()
public static io.reactivex.rxjava3.functions.Function<io.reactivex.rxjava3.core.Scheduler,io.reactivex.rxjava3.core.Scheduler> getOnMainThreadSchedulerHandler()
public static void reset()