Interface AgentDeviceState


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

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.util.Optional<AgentDevice> getAgentDevice()
      Returns an optional AgentDevice if the agent device is connected or otherwise an empty optional.
      boolean isAlerting()
      The method returns true if the agent device is connected and currently alerting an incoming call.
      boolean isBusy()
      The method returns true if the agent device is connected and currently busy.
      default boolean isConnected()
      The method returns true if the agent device is connected, otherwise false.
    • Method Detail

      • getAgentDevice

        java.util.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