Object StreamGlobalExceptionHandler.Companion
-
- All Implemented Interfaces:
public class StreamGlobalExceptionHandler.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static StreamGlobalExceptionHandler.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitinstallOnDebuggableApp(Application application, String packageName, Function1<String, Unit> exceptionHandler)Installs a new StreamGlobalExceptionHandler if the application is debuggable. final Unitinstall(Application application, String packageName, Function1<String, Unit> exceptionHandler)Install a new StreamGlobalExceptionHandler. -
-
Method Detail
-
installOnDebuggableApp
final Unit installOnDebuggableApp(Application application, String packageName, Function1<String, Unit> exceptionHandler)
Installs a new StreamGlobalExceptionHandler if the application is debuggable.
- Parameters:
application- Application.packageName- The package name of the Activity that should be started when user restarts the application.
-
install
final Unit install(Application application, String packageName, Function1<String, Unit> exceptionHandler)
Install a new StreamGlobalExceptionHandler.
- Parameters:
application- Application.packageName- The package name of the Activity that should be started when user restarts the application.
-
-
-
-