Package-level declarations
Types
Listener for receiving activity events. Consider using BaseActivityEventListener if you're not interested in all the events sent to this interface.
Like AssertionError but extends RuntimeException so that it may be caught by a JSExceptionHandler. See that class for more details. Used in conjunction with SoftAssertions.
An empty implementation of ActivityEventListener.
Implementation of javascript callback function that uses Bridge to schedule method execution.
A higher level API on top of the asynchronous JSC bridge. This provides an environment allowing the invocation of JavaScript methods and lets a set of Java APIs be invocable from JavaScript as well.
Callback impl that calls directly into the cxx bridge. Created from C++.
This does nothing interesting, except avoid breaking existing code.
A Java Object which represents a cross-platform C++ module
Crashy crashy exception handler.
Abstract base for a AsyncTask that should have any RuntimeExceptions it throws handled by the JSExceptionHandler registered if the app is in dev mode.
Abstract base for a Runnable that should have any RuntimeExceptions it throws handled by the JSExceptionHandler registered if the app is in dev mode.
Exception thrown by ReadableMapKeySetIterator.nextKey when the iterator tries to iterate over elements after the end of the key set.
Java ArrayList backed implementation of ReadableArray and WritableArray Instances of this class SHOULD NOT be used for communication between java and JS, use instances of WritableNativeArray created via Arguments#createArray or just ReadableArray interface if you want your "native" module method to take an array from JS as an argument.
Java HashMap backed implementation of ReadableMap and WritableMap Instances of this class SHOULD NOT be used for communication between java and JS, use instances of WritableNativeMap created via Arguments#createMap or just ReadableMap interface if you want your "native" module method to take a map from JS as an argument.
Wrapper for JavaScriptContext native pointer. This object is creates on demand as part of the initialization of React native, and will call clear() before destroying the VM. People who need the raw JavaScriptContext pointer can synchronize on this wrapper object to guarantee that it will not be destroyed.
Interface denoting that a class is the interface to a module with the same name in JS. Calling functions on this interface will result in corresponding methods in JS being called.
A special RuntimeException that should be thrown by native code if it has reached an exceptional state due to a, or a sequence of, bad commands.
An illegal argument Exception caused by an argument passed from JS.
An interface for classes that initialize JavaScript using JSBundleLoader
Interface for a class that knows how to handle an Exception invoked from JS. Since these Exceptions are triggered by JS calls (and can be fixed in JS), a common way to handle one is to show a error dialog and allow the developer to change and reload JS.
This interface includes the methods needed to use a running JS instance, without specifying any of the bridge-specific initialization or lifecycle management.
Listener for receiving activity lifecycle events.
Listener interface for memory pressure events.
Base class for an array whose members are stored in native code (C++).
Exception thrown by ReadableNativeMap when a key that does not exist is requested.
Interface for a module that will be notified when a batch of JS->Java calls has finished.
If thrown during a MountItem execution, FabricUIManager will print diagnostics and ignore the error. Use this carefully and sparingly!
Constants used by ReactMarker.
Annotation which is used to mark methods that are exposed to React Native.
Extends RuntimeException so that it may be caught by a ReactSoftExceptionListener. Any ReactSoftExceptionListener that catches a ReactNoCrashSoftException should log it only and not crash, no matter what.
Interface for an array that allows typed access to its members. Used to pass parameters from JS to Kotlin.
Interface for a map that allows typed access to its members. Used to pass parameters from JS to Kotlin.
Interface of a iterator for a NativeMap's key set.
Implementation of a NativeArray that allows read-only access to its members. This will generally be constructed and filled in native code so you shouldn't construct one yourself.
Implementation of a read-only map in native memory. This will generally be constructed and filled in native code so you shouldn't construct one yourself.
Defines the type of an object stored in a ReadableArray or ReadableMap.
ViewCommands can throw this Exception. If this is caught during the execution of a ViewCommand mounting instruction, it indicates that the mount item can be safely retried.
A Kotlin holder for a C++ RuntimeExecutor.
A Kotlin holder for a C++ RuntimeScheduler.
Utility class to make assertions that should not hard-crash the app but instead be handled by the Catalyst app JSExceptionHandler. See the javadoc on that class for more information about our opinion on when these assertions should be used as opposed to assertions that might throw AssertionError Throwables that will cause the app to hard crash.
Interface to the JavaScript Systrace Module
Listener used to hook into the UIManager update process.
UIManagerProvider is used to create UIManager objects during the initialization of React Native.
Exception thrown from native code when a type retrieved from a map or array (e.g. via NativeArrayParameter.getString(int)) does not match the expected type.
Interface for a mutable array. Used to pass arguments from Kotlin to JS.
Interface for a mutable map. Used to pass arguments from Kotlin to JS.
Implementation of a write-only array stored in native memory. Use Arguments#createArray() if you need to stub out creating this class in a test.
Implementation of a write-only map stored in native memory. Use Arguments.createMap if you need to stub out creating this class in a test. TODO(5815532): Check if consumed on read