NativeModuleRegistry

A set of Java APIs to expose to a particular JavaScript instance.

Constructors

Link copied to clipboard
constructor(reactApplicationContext: ReactApplicationContext, modules: Map<String, ModuleHolder>)

Functions

Link copied to clipboard
Link copied to clipboard
open fun <T : NativeModule?> getModule(moduleInterface: Class<T>): T
open fun getModule(name: String): NativeModule
Link copied to clipboard
open fun <T : NativeModule?> hasModule(moduleInterface: Class<T>): Boolean
open fun hasModule(name: String): Boolean
Link copied to clipboard
open fun onBatchComplete()