public class SourceCodeModule extends NativeSourceCodeSpec
NativeModule.NativeMethod| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
METHOD_TYPE_ASYNC, METHOD_TYPE_PROMISE, METHOD_TYPE_SYNC| Constructor and Description |
|---|
SourceCodeModule(ReactApplicationContext reactContext) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
protected java.util.Map<java.lang.String,java.lang.Object> |
getTypedExportedConstants() |
getConstantsgetCurrentActivity, getReactApplicationContext, getReactApplicationContextIfActiveOrWarncanOverrideExistingModule, hasConstants, initialize, invalidate, onCatalystInstanceDestroyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvalidatepublic static final java.lang.String NAME
public SourceCodeModule(ReactApplicationContext reactContext)
public java.lang.String getName()
require() this module
from javascript.protected java.util.Map<java.lang.String,java.lang.Object> getTypedExportedConstants()
getTypedExportedConstants in class NativeSourceCodeSpec