-
public interface RedBoxHandler
Interface 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 interface
RedBoxHandler.ReportCompletedListener
Callback interface for reportRedbox.
-
Method Summary
Modifier and Type Method Description abstract void
handleRedbox(@Nullable() String title, Array<StackFrame> stack, ErrorType errorType)
Handle the information from the redbox. abstract boolean
isReportEnabled()
Whether the report feature is enabled. 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. -
-
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.
-
-
-
-