library / com.chuckerteam.chucker.api / Chucker

Chucker

object Chucker

Chucker methods and utilities to interact with the library.

Annotations

Screen

Annotation used to specify which screen of Chucker should be launched.

annotation class Screen

Properties

isOp

Check if this instance is the operation one or no-op.

val isOp: Boolean

SCREEN_ERROR

const val SCREEN_ERROR: Int

SCREEN_HTTP

const val SCREEN_HTTP: Int

Functions

dismissErrorsNotification

Method to dismiss the Chucker notification of Uncaught Errors.

fun dismissErrorsNotification(context: Context): Unit

dismissTransactionsNotification

Method to dismiss the Chucker notification of HTTP Transactions

fun dismissTransactionsNotification(context: Context): Unit

getLaunchIntent

Get an Intent to launch the Chucker UI directly.

fun getLaunchIntent(context: Context, screen: Int): Intent

registerDefaultCrashHandler

Configure the default crash handler of the JVM to report all uncaught Throwable to Chucker. You may only use it for debugging purpose.

fun registerDefaultCrashHandler(collector: ChuckerCollector): Unit