class ChuckerCollector
The collector responsible of collecting data from a ChuckerInterceptor and storing it/displaying push notification. You need to instantiate one of those and provide it to
showNotification - Control whether a notification is shown while HTTP activity
is recorded.
retentionPeriod - Set the retention period for HTTP transaction data captured
by this collector. The default is one week.
<init> |
The collector responsible of collecting data from a ChuckerInterceptor and storing it/displaying push notification. You need to instantiate one of those and provide it to ChuckerCollector(context: Context, showNotification: Boolean = true, retentionPeriod: Period = RetentionManager.Period.ONE_WEEK) |
showNotification |
Control whether a notification is shown while HTTP activity is recorded. var showNotification: Boolean |
onError |
Call this method when a throwable is triggered and you want to record it. fun onError(tag: String, throwable: Throwable): Unit |