-
public interface RedBoxHandlerInterface used by BridgeDevSupportManager to allow interception on any redboxes during development and handling the information from the redbox. The implementation should be passed by setRedBoxHandler in ReactInstanceManager.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceRedBoxHandler.ReportCompletedListenerCallback interface for reportRedbox.
-
Method Summary
Modifier and Type Method Description abstract voidhandleRedbox(@Nullable() String title, Array<StackFrame> stack, ErrorType errorType)Handle the information from the redbox. abstract booleanisReportEnabled()Whether the report feature is enabled. abstract voidreportRedbox(Context context, String title, Array<StackFrame> stack, String sourceUrl, RedBoxHandler.ReportCompletedListener reportCompletedListener)Report the information from the redbox and set up a callback listener. -
-
Method Detail
-
handleRedbox
abstract void handleRedbox(@Nullable() String title, Array<StackFrame> stack, ErrorType errorType)
Handle the information from the redbox.
-
isReportEnabled
abstract boolean isReportEnabled()
Whether the report feature is enabled.
-
reportRedbox
abstract void reportRedbox(Context context, String title, Array<StackFrame> stack, String sourceUrl, RedBoxHandler.ReportCompletedListener reportCompletedListener)
Report the information from the redbox and set up a callback listener.
-
-
-
-