library
Module Contents
alltypes
Module Contents
object
Chucker
Module Contents
@JvmStatic
fun
dismissErrorsNotification
(
context
:
Context
)
:
Unit
@JvmStatic
fun
dismissTransactionsNotification
(
context
:
Context
)
:
Unit
@JvmStatic
fun
getLaunchIntent
(
context
:
Context
,
screen
:
Int
)
:
Intent
val
isOp
:
Boolean
@JvmStatic
fun
registerDefaultCrashHandler
(
collector
:
ChuckerCollector
)
:
Unit
annotation
class
Screen
Module Contents
Screen
(
)
const
val
SCREEN_ERROR
:
Int
const
val
SCREEN_HTTP
:
Int
class
ChuckerCollector
Module Contents
ChuckerCollector
(
context
:
Context
,
showNotification
:
Boolean
=
true
,
retentionPeriod
:
Period
=
RetentionManager.Period.ONE_WEEK
)
fun
onError
(
tag
:
String
,
throwable
:
Throwable
)
:
Unit
var
showNotification
:
Boolean
class
ChuckerInterceptor
:
Interceptor
Module Contents
ChuckerInterceptor
(
context
:
Context
,
collector
:
ChuckerCollector
=
ChuckerCollector(context)
,
maxContentLength
:
Long
=
250000L
,
headersToRedact
:
Set
<
String
>
=
emptySet()
)
fun
intercept
(
chain
:
Chain
)
:
Response
fun
redactHeader
(
vararg
headerName
:
String
)
:
Unit
class
RetentionManager
Module Contents
RetentionManager
(
context
:
Context
,
retentionPeriod
:
Period
=
Period.ONE_WEEK
)
enum
class
Period
Module Contents
FOREVER
ONE_DAY
ONE_HOUR
ONE_WEEK
package
com.chuckerteam.chucker.api
Module Contents
object
Chucker
Module Contents
@JvmStatic
fun
dismissErrorsNotification
(
context
:
Context
)
:
Unit
@JvmStatic
fun
dismissTransactionsNotification
(
context
:
Context
)
:
Unit
@JvmStatic
fun
getLaunchIntent
(
context
:
Context
,
screen
:
Int
)
:
Intent
val
isOp
:
Boolean
@JvmStatic
fun
registerDefaultCrashHandler
(
collector
:
ChuckerCollector
)
:
Unit
annotation
class
Screen
Module Contents
Screen
(
)
const
val
SCREEN_ERROR
:
Int
const
val
SCREEN_HTTP
:
Int
class
ChuckerCollector
Module Contents
ChuckerCollector
(
context
:
Context
,
showNotification
:
Boolean
=
true
,
retentionPeriod
:
Period
=
RetentionManager.Period.ONE_WEEK
)
fun
onError
(
tag
:
String
,
throwable
:
Throwable
)
:
Unit
var
showNotification
:
Boolean
class
ChuckerInterceptor
:
Interceptor
Module Contents
ChuckerInterceptor
(
context
:
Context
,
collector
:
ChuckerCollector
=
ChuckerCollector(context)
,
maxContentLength
:
Long
=
250000L
,
headersToRedact
:
Set
<
String
>
=
emptySet()
)
fun
intercept
(
chain
:
Chain
)
:
Response
fun
redactHeader
(
vararg
headerName
:
String
)
:
Unit
class
RetentionManager
Module Contents
RetentionManager
(
context
:
Context
,
retentionPeriod
:
Period
=
Period.ONE_WEEK
)
enum
class
Period
Module Contents
FOREVER
ONE_DAY
ONE_HOUR
ONE_WEEK