-
Notifications
You must be signed in to change notification settings - Fork 7
/
Event.kt
71 lines (53 loc) · 1.41 KB
/
Event.kt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package io.embrace.android.embracesdk.payload
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
import io.embrace.android.embracesdk.EventType
@JsonClass(generateAdapter = true)
internal data class Event constructor(
@Json(name = "n")
@JvmField
val name: String? = null,
@Json(name = "li")
@JvmField
val messageId: String? = null,
@Json(name = "id")
@JvmField
val eventId: String,
@Json(name = "si")
@JvmField
val sessionId: String? = null,
@Json(name = "t")
@JvmField
val type: EventType,
@Json(name = "ts")
@JvmField
val timestamp: Long? = null,
@Json(name = "th")
@JvmField
val lateThreshold: Long? = null,
@Json(name = "sc")
@JvmField
val screenshotTaken: Boolean? = false,
@Json(name = "du")
@JvmField
val duration: Long? = null,
@Json(name = "st")
@JvmField
val appState: String? = null,
@Json(name = "pr")
val customProperties: Map<String, Any>? = null,
@Json(name = "sp")
val sessionProperties: Map<String, String>? = null,
@Transient
val activeEventIds: List<String>? = null,
@Json(name = "et")
@JvmField
val logExceptionType: String? = null,
@Json(name = "en")
val exceptionName: String? = null,
@Json(name = "em")
val exceptionMessage: String? = null,
@Json(name = "f")
@JvmField
val framework: Int? = null,
)