Connection

public interface Connection

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

Functions

Link copied to clipboard
public abstract Integer getBrandId()

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

Link copied to clipboard
public abstract String getChannelId()

The id of the channel currently connected to this instance.

Link copied to clipboard
public abstract String getCustomerId()

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
public abstract Environment getEnvironment()

The environment through which this instance connected.

Link copied to clipboard
public abstract String getFirstName()

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

Link copied to clipboard
public abstract String getLastName()

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
public abstract UUID getVisitorId()

The internal unique id of installation instance.