Interface AgentDeviceState


public interface AgentDeviceState
This interface provides information about the agent device state.
Since:
11.27
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an optional AgentDevice if the agent device is connected or otherwise an empty optional.
    boolean
    The method returns true if the agent device is connected and currently alerting an incoming call.
    boolean
    The method returns true if the agent device is connected and currently busy.
    default boolean
    The method returns true if the agent device is connected, otherwise false.
  • Method Details

    • getAgentDevice

      Optional<AgentDevice> getAgentDevice()
      Returns an optional AgentDevice if the agent device is connected or otherwise an empty optional.
      Returns:
      the optional AgentDevice if 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