Interface AgentDeviceState
public interface AgentDeviceState
This interface provides information about the agent device state.
- Since:
- 11.27
-
Method Summary
Modifier and TypeMethodDescriptionReturns an optionalAgentDeviceif the agent device is connected or otherwise an empty optional.booleanThe method returns true if the agent device is connected and currently alerting an incoming call.booleanisBusy()The method returns true if the agent device is connected and currently busy.default booleanThe method returns true if the agent device is connected, otherwise false.
-
Method Details
-
getAgentDevice
Optional<AgentDevice> getAgentDevice()Returns an optionalAgentDeviceif the agent device is connected or otherwise an empty optional.- Returns:
- the optional
AgentDeviceif the agent device is connected or otherwise an empty optional. - Since:
- 11.27
-
isBusy
boolean isBusy()The method returns true if the agent device is connected and currently busy.- Returns:
- true if the agent device is connected and currently busy.
- Since:
- 11.27
-
isAlerting
boolean isAlerting()The method returns true if the agent device is connected and currently alerting an incoming call.- Returns:
- true if the agent device is connected and currently alerting a call.
- Since:
- 11.27
-
isConnected
default boolean isConnected()The method returns true if the agent device is connected, otherwise false.- Returns:
- true if the agent device is connected
- Since:
- 11.27
-