-
Notifications
You must be signed in to change notification settings - Fork 7
/
SessionLocalConfig.kt
26 lines (22 loc) · 828 Bytes
/
SessionLocalConfig.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
package io.embrace.android.embracesdk.config.local
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
* Represents the session configuration element specified in the Embrace config file.
*/
@JsonClass(generateAdapter = true)
internal class SessionLocalConfig(
/**
* A whitelist of session components (i.e. Breadcrumbs, Session properties, etc) that should be
* included in the session payload. The presence of this property denotes that the gating
* feature is enabled.
*/
@Json(name = "components")
val sessionComponents: Set<String>? = null,
/**
* A list of events (crashes, errors, etc) allowed to send a full session payload if the
* gating feature is enabled.
*/
@Json(name = "send_full_for")
val fullSessionEvents: Set<String>? = null
)