Environment

public interface Environment

Current SDK environment providing backend (remote) configuration. This can differ from region to region and permits connecting to your own running copy of the service.

Functions

Link copied to clipboard
public abstract String getBaseUrl()

Url used for fetching base configuration, such as: multi/single thread, auth.

Link copied to clipboard
public abstract String getChatUrl()

Chat sub-url. Usually defined as /chat suffix to baseUrl

Link copied to clipboard
public abstract String getLocation()

Physical location of the environment that we'll connect to.

Link copied to clipboard
public abstract String getName()

Name of the environment. It's defined only for semantic reasons.

Link copied to clipboard
public abstract String getOriginHeader()

Origin header required for live chat.

Link copied to clipboard
public abstract String getSocketUrl()

Socket url used for chat communication.