toggle menu
ReactAndroid
next
JVM
switch theme
search in API
ReactAndroid
/
com.facebook.react.bridge
/
NativeModuleRegistry
Native
Module
Registry
open
class
NativeModuleRegistry
A set of Java APIs to expose to a particular JavaScript instance.
Members
Constructors
Native
Module
Registry
Link copied to clipboard
constructor
(
reactApplicationContext
:
ReactApplicationContext
,
modules
:
Map
<
String
,
ModuleHolder
>
)
Functions
get
All
Modules
Link copied to clipboard
open
fun
getAllModules
(
)
:
List
<
NativeModule
>
get
Module
Link copied to clipboard
open
fun
<
T
:
NativeModule
?
>
getModule
(
moduleInterface
:
Class
<
T
>
)
:
T
open
fun
getModule
(
name
:
String
)
:
NativeModule
has
Module
Link copied to clipboard
open
fun
<
T
:
NativeModule
?
>
hasModule
(
moduleInterface
:
Class
<
T
>
)
:
Boolean
open
fun
hasModule
(
name
:
String
)
:
Boolean
on
Batch
Complete
Link copied to clipboard
open
fun
onBatchComplete
(
)