public interface

AvailabilityState

com.salesforce.android.chat.core.model.AvailabilityState

Summary

Nested Classes
enum AvailabilityState.Status The agent availability client allows you to query the availability of agents attached to a particular button id. 
Public Methods
abstract String getLiveAgentPod()
Returns the current value for the Live Agent Pod to connect to.
abstract AvailabilityState.Status getStatus()
Returns the current AvailabilityState.Status of the live agent button.

Public Methods

public abstract String getLiveAgentPod ()

Returns the current value for the Live Agent Pod to connect to. It is possible that servers that handle Live Agent requests can change. This will return the current domain.

Note: Trying to connect with an old server will still function properly it will simply require an additional round trip when starting a session. Supplying an updated ChatConfiguration object when starting a session can help reduce connection times.

Returns
  • the current Live Agent Pod which will service your org.

public abstract AvailabilityState.Status getStatus ()

Returns the current AvailabilityState.Status of the live agent button.

Returns