Connection

interface Connection

Definition of a data object, which is holding information relevant to the lifecycle of SDK connection to the backend.

Properties

Link copied to clipboard
abstract val brandId: Int

The id of the brand currently active in the instance of a chat, defined as integer.

Link copied to clipboard
abstract val channelId: String

The id of the channel currently connected to this instance.

Link copied to clipboard
abstract val customerId: String?

The id of the customer connected to this instance. It's automatically generated and not empty once connected to the supporting socket for the first time.

Link copied to clipboard
abstract val environment: Environment

The environment through which this instance connected.

Link copied to clipboard
abstract val firstName: String

First name of the customer connected to this instance. It can be empty if the customer is not yet authorized.

Link copied to clipboard
abstract val lastName: String

The last name of the customer connected to this instance. It can be empty if the customer is not yet authorized.

Link copied to clipboard
abstract val visitorId: UUID

The internal unique id of installation instance.