Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard

Interface used by DeviceEventManagerModule to delegate hardware back button events. It's suppose to provide a default behavior since it would be triggered in the case when JS side doesn't want to handle back press events.

Link copied to clipboard
open class DeviceEventManagerModule(reactContext: ReactApplicationContext?, backBtnHandler: DefaultHardwareBackBtnHandler?) : NativeDeviceEventManagerSpec

Native module that handles device hardware events like hardware back presses.

Link copied to clipboard
open class ExceptionsManagerModule(devSupportManager: DevSupportManager) : NativeExceptionsManagerSpec
Link copied to clipboard
open class HeadlessJsTaskSupportModule(reactContext: ReactApplicationContext?) : NativeHeadlessJsTaskSupportSpec

Simple native module that allows JS to notify native of having completed some task work, so that it can e.g. release any resources, stop timers etc.

Link copied to clipboard

An interface used by JavaTimerManager to access and call JS timers from Java.

Link copied to clipboard
open class JavaTimerManager(reactApplicationContext: ReactApplicationContext, javaScriptTimerExecutor: JavaScriptTimerExecutor, reactChoreographer: ReactChoreographer, devSupportManager: DevSupportManager) : LifecycleEventListener, HeadlessJsTaskEventListener

This class is the native implementation for JS timer execution on Android. It schedules JS timers to be invoked on frame boundaries using ReactChoreographer.

Link copied to clipboard
Link copied to clipboard

Interface used to denote activities that can forward permission requests and call PermissionListener with the permission request results.

Link copied to clipboard
fun interface PermissionListener

Interface used by activities to delegate permission request results. Classes implementing this class will be notified whenever there's a result for a permission request.

Link copied to clipboard

Module that handles global application events.

Link copied to clipboard

A simple wrapper around Choreographer that allows us to control the order certain callbacks are executed within a given frame. The wrapped Choreographer instance will always be the main thread one and the API's are safe to use from any thread.

Link copied to clipboard
class TimingModule(reactContext: ReactApplicationContext, devSupportManager: DevSupportManager) : NativeTimingSpec, JavaScriptTimerExecutor

Native module for JS timer execution. Timers fire on frame boundaries.