public class LogBoxModule extends NativeLogBoxSpec
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 |
|---|
LogBoxModule(ReactApplicationContext reactContext,
DevSupportManager devSupportManager) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
void |
hide() |
void |
onCatalystInstanceDestroy()
Called before {CatalystInstance#onHostDestroy}
|
void |
show() |
getCurrentActivity, getReactApplicationContext, getReactApplicationContextIfActiveOrWarncanOverrideExistingModule, getConstants, hasConstants, initialize, invalidateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvalidatepublic static final java.lang.String NAME
public LogBoxModule(ReactApplicationContext reactContext, DevSupportManager devSupportManager)
public java.lang.String getName()
require() this module
from javascript.public void show()
show in class NativeLogBoxSpecpublic void hide()
hide in class NativeLogBoxSpecpublic void onCatalystInstanceDestroy()
NativeModuleonCatalystInstanceDestroy in interface NativeModuleonCatalystInstanceDestroy in class BaseJavaModule