public interface RecoverBehaviorFactory
| Modifier and Type | Method and Description |
|---|---|
CrashRecoverBehaviour |
createDefaultHandlerBehaviour()
Creates behaviour which acts like the default handle (ie. showing a OS error dialog)
|
CrashRecoverBehaviour |
createDefaultHandlerBehaviour(CrashRecoverBehaviour.CrashAction prePostAction,
CrashRecoverBehaviour.CrashAction postCrashAction)
Creates behaviour which acts like the default handle (ie. showing a OS error dialog)
|
CrashRecoverBehaviour |
createRestartForegroundActivityCrashBehaviour()
Creates behaviour where the current foreground activity will be started on crash.
|
CrashRecoverBehaviour |
createRestartForegroundActivityCrashBehaviour(CrashRecoverBehaviour.CrashAction prePostAction,
CrashRecoverBehaviour.CrashAction postCrashAction)
Creates behaviour where the current foreground activity will be started on crash.
|
CrashRecoverBehaviour |
createRestartLauncherActivityCrashBehaviour()
Creates behaviour where the current launcher activity will be started on crash, effectively restarting the app.
|
CrashRecoverBehaviour |
createStartActivityCrashBehaviour(android.content.Intent intent)
Creates behaviour where the provided activity will be started
|
CrashRecoverBehaviour |
createStartActivityCrashBehaviour(android.content.Intent intent,
CrashRecoverBehaviour.CrashAction prePostAction,
CrashRecoverBehaviour.CrashAction postCrashAction)
Creates behaviour where the provided activity will be started.
|
CrashRecoverBehaviour |
createSuppressCrashBehaviour()
Creates behaviour where crashes will be suppressed and no error dialog or similar will be shown
|
CrashRecoverBehaviour |
createSuppressCrashBehaviour(CrashRecoverBehaviour.CrashAction prePostAction,
CrashRecoverBehaviour.CrashAction postCrashAction)
Creates behaviour where crashes will be suppressed and no error dialog or similar will be shown
|
CrashRecoverBehaviour createSuppressCrashBehaviour()
CrashRecoverBehaviour createSuppressCrashBehaviour(CrashRecoverBehaviour.CrashAction prePostAction, CrashRecoverBehaviour.CrashAction postCrashAction)
prePostAction - called before CrashRecoverBehaviour.handleCrash(Context, Thread, Throwable, CrashData, PlanBConfig)postCrashAction - called after CrashRecoverBehaviour.handleCrash(Context, Thread, Throwable, CrashData, PlanBConfig)CrashRecoverBehaviour createDefaultHandlerBehaviour()
CrashRecoverBehaviour createDefaultHandlerBehaviour(CrashRecoverBehaviour.CrashAction prePostAction, CrashRecoverBehaviour.CrashAction postCrashAction)
prePostAction - called before CrashRecoverBehaviour.handleCrash(Context, Thread, Throwable, CrashData, PlanBConfig)postCrashAction - called after CrashRecoverBehaviour.handleCrash(Context, Thread, Throwable, CrashData, PlanBConfig)CrashRecoverBehaviour createRestartForegroundActivityCrashBehaviour()
createRestartLauncherActivityCrashBehaviour() for a more stable approach.CrashRecoverBehaviour createRestartLauncherActivityCrashBehaviour()
CrashRecoverBehaviour createStartActivityCrashBehaviour(android.content.Intent intent)
intent - of the activity to be startedCrashRecoverBehaviour createRestartForegroundActivityCrashBehaviour(CrashRecoverBehaviour.CrashAction prePostAction, CrashRecoverBehaviour.CrashAction postCrashAction)
createRestartLauncherActivityCrashBehaviour() for a more stable approach.prePostAction - called before CrashRecoverBehaviour.handleCrash(Context, Thread, Throwable, CrashData, PlanBConfig)postCrashAction - called after CrashRecoverBehaviour.handleCrash(Context, Thread, Throwable, CrashData, PlanBConfig)CrashRecoverBehaviour createStartActivityCrashBehaviour(android.content.Intent intent, CrashRecoverBehaviour.CrashAction prePostAction, CrashRecoverBehaviour.CrashAction postCrashAction)
intent - of the activity to be startedprePostAction - called before CrashRecoverBehaviour.handleCrash(Context, Thread, Throwable, CrashData, PlanBConfig)postCrashAction - called after CrashRecoverBehaviour.handleCrash(Context, Thread, Throwable, CrashData, PlanBConfig)