com.salesforce.android.chat.core.AgentAvailabilityClient |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract Async<AvailabilityState> |
check()
Checks the current availability status.
| ||||||||||
abstract Async<AvailabilityState> |
verifyLiveAgentPod()
Do a fast check to verify the
getLiveAgentPod() . |
Checks the current availability status. The AvailabilityState
which is returned
as part of the onResult(Async.ResultHandler)
callback will contain both the
current availability AvailabilityState.Status
as well
as the proper LiveAgentPod host name if that has changed.
Async
which will trigger any attached handlers when the request completes.
Do a fast check to verify the getLiveAgentPod()
.
Please note that he AvailabilityState.Status
may be 'Unknown'.
You should use check()
if the current Status is important to you.
Use this if you want to verify or update the currently configured LiveAgentPod. And you aren't
currently concerned about the availability AvailabilityState.Status
.
Async
which will trigger any attached handlers when the request completes.