library / com.chuckerteam.chucker.api / ChuckerCollector / <init>

<init>

ChuckerCollector(context: Context, showNotification: Boolean = true, retentionPeriod: Period = RetentionManager.Period.ONE_WEEK)

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

Parameters

context - An Android Context

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.