public interface RedBoxHandler
DevSupportManagerImpl
to allow interception on any redboxes
during development and handling the information from the redbox.
The implementation should be passed by setRedBoxHandler in ReactInstanceManager.Modifier and Type | Interface and Description |
---|---|
static class |
RedBoxHandler.ErrorType |
static interface |
RedBoxHandler.ReportCompletedListener
|
Modifier and Type | Method and Description |
---|---|
void |
handleRedbox(java.lang.String title,
StackTraceHelper.StackFrame[] stack,
RedBoxHandler.ErrorType errorType)
Handle the information from the redbox.
|
boolean |
isReportEnabled()
Whether the report feature is enabled.
|
void |
reportRedbox(java.lang.String title,
StackTraceHelper.StackFrame[] stack,
java.lang.String sourceUrl,
RedBoxHandler.ReportCompletedListener reportCompletedListener)
Report the information from the redbox and set up a callback listener.
|
void handleRedbox(java.lang.String title, StackTraceHelper.StackFrame[] stack, RedBoxHandler.ErrorType errorType)
boolean isReportEnabled()
void reportRedbox(java.lang.String title, StackTraceHelper.StackFrame[] stack, java.lang.String sourceUrl, RedBoxHandler.ReportCompletedListener reportCompletedListener)