Package-level declarations
Types
Like androidx.core.util.Pools.SynchronizedPool with the option to clear the pool (e.g. on memory pressure).
Tracks errors connecting to or received from the debug server. The debug server returns errors as json objects. This exception represents that error.
A JS exception that was propagated to native. In debug mode, these exceptions are normally shown to developers in a redbox.
Lifecycle state for an Activity. The state right after pause and right before resume are the basically the same so this enum is in terms of the forward lifecycle progression (onResume, etc).
This enum is used to determine the release level of a React Native application, which is then used to determine what React Native Features will be enabled in the application.
Listens for the user shaking their phone. Allocation-less once it starts listening.
Interface for handling a surface in React Native. In mobile platform a surface can be any container that holds some View. For example, a Dialog can be a surface to wrap content view object as needed. In VR platform, a surface is provided by Shell panel app sdk, which requires custom logic to show/hide. NativeModules requires a surface will delegate interactions with the surface to a SurfaceDelegate.
Factory to create a SurfaceDelegate. The moduleName is needed to help the factory decide which surface to return SurfaceDelegate that the given module should use to interact with.
Detour for System.currentTimeMillis and System.nanoTime calls so that they can be mocked out in tests.