kommon
Toggle table of contents
0.0.0-SNAPSHOT
release
Target filter
release
Switch theme
Search in API
Skip to content
kommon
crashreporting
/
io.github.maniramezan.kommon.crashreporting
/
RecordingCrashlyticsClient
Recording
Crashlytics
Client
class
RecordingCrashlyticsClient
:
CrashlyticsClient
In-memory
CrashlyticsClient
that records every call, for use in consumer unit tests.
Members
Constructors
Recording
Crashlytics
Client
Link copied to clipboard
constructor
(
)
Types
Recorded
Error
Link copied to clipboard
data
class
RecordedError
(
val
throwable
:
Throwable
,
val
context
:
Map
<
String
,
String
>
)
Properties
custom
Values
Link copied to clipboard
val
customValues
:
LinkedHashMap
<
String
,
String
>
log
Messages
Link copied to clipboard
val
logMessages
:
MutableList
<
String
>
recorded
Errors
Link copied to clipboard
val
recordedErrors
:
MutableList
<
RecordingCrashlyticsClient.RecordedError
>
user
Id
Link copied to clipboard
var
userId
:
String
?
Functions
clear
User
Id
Link copied to clipboard
open
override
fun
clearUserId
(
)
log
Link copied to clipboard
open
override
fun
log
(
message
:
String
)
record
Error
Link copied to clipboard
open
override
fun
recordError
(
throwable
:
Throwable
,
context
:
Map
<
String
,
String
>
=
emptyMap()
)
set
Custom
Value
Link copied to clipboard
open
override
fun
setCustomValue
(
key
:
String
,
value
:
String
)
set
User
Id
Link copied to clipboard
open
override
fun
setUserId
(
userId
:
String
)