public class ReactNativeIdlingResources
| Modifier and Type | Class and Description |
|---|---|
static class |
ReactNativeIdlingResources.Companion |
| Modifier and Type | Field and Description |
|---|---|
static ReactNativeIdlingResources.Companion |
Companion |
| Constructor and Description |
|---|
ReactNativeIdlingResources(com.facebook.react.bridge.ReactContext reactContext,
boolean networkSyncEnabled) |
| Modifier and Type | Method and Description |
|---|---|
kotlin.Unit |
pauseJSBridgeIdlingResource() |
kotlin.Unit |
pauseNetworkSynchronization() |
kotlin.Unit |
pauseRNTimersIdlingResource() |
kotlin.Unit |
pauseUIIdlingResource() |
void |
registerAll() |
kotlin.Unit |
resumeJSBridgeIdlingResource() |
void |
resumeNetworkSynchronization() |
kotlin.Unit |
resumeRNTimersIdlingResource() |
kotlin.Unit |
resumeUIIdlingResource() |
void |
setNetworkSynchronization(boolean enable) |
void |
unregisterAll() |
public static ReactNativeIdlingResources.Companion Companion
public ReactNativeIdlingResources(@NotNull
com.facebook.react.bridge.ReactContext reactContext,
boolean networkSyncEnabled)
public void registerAll()
public void unregisterAll()
public void setNetworkSynchronization(boolean enable)
@Nullable public kotlin.Unit pauseNetworkSynchronization()
public void resumeNetworkSynchronization()
@Nullable public kotlin.Unit pauseRNTimersIdlingResource()
@Nullable public kotlin.Unit resumeRNTimersIdlingResource()
@Nullable public kotlin.Unit pauseUIIdlingResource()
@Nullable public kotlin.Unit resumeUIIdlingResource()
@Nullable public kotlin.Unit pauseJSBridgeIdlingResource()
@Nullable public kotlin.Unit resumeJSBridgeIdlingResource()