StoredSession

data class StoredSession(val token: String? = null, val conversationId: String? = null, val lastSeq: Int = 0, val locale: String? = null, val email: String? = null, val name: String? = null, val pushToken: String? = null, val pushProvider: String? = null, val pushAppVersion: String? = null)

What the SDK remembers between launches for one site.

Constructors

Link copied to clipboard
constructor(token: String? = null, conversationId: String? = null, lastSeq: Int = 0, locale: String? = null, email: String? = null, name: String? = null, pushToken: String? = null, pushProvider: String? = null, pushAppVersion: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val conversationId: String? = null

Active conversation id.

Link copied to clipboard
val email: String? = null

Email the visitor gave.

Link copied to clipboard
val lastSeq: Int = 0

Highest seq the app has seen.

Link copied to clipboard
val locale: String? = null

Locale the host or user chose.

Link copied to clipboard
val name: String? = null

Name the visitor gave.

Link copied to clipboard
val pushAppVersion: String? = null

App version the push token was registered under.

Link copied to clipboard
val pushProvider: String? = null

fcm or apns.

Link copied to clipboard
val pushToken: String? = null

Push token last handed to setPushToken.

Link copied to clipboard
val token: String? = null

Visitor token (secure storage).

Functions

Link copied to clipboard

The same session without a conversation (and so without a lastSeq).