library / com.chuckerteam.chucker.api / RetentionManager

RetentionManager

class RetentionManager

Class responsible of holding the logic for the retention of your HTTP transactions and your throwable. You can customize how long data should be stored here.

Parameters

context - An Android Context

retentionPeriod - A Period to specify the retention of data. Default 1 week.

Types

Period

enum class Period

Constructors

<init>

Class responsible of holding the logic for the retention of your HTTP transactions and your throwable. You can customize how long data should be stored here.

RetentionManager(context: Context, retentionPeriod: Period = Period.ONE_WEEK)