Package 

Object DisconnectionDetails.Agent


  • 
    public class DisconnectionDetails.Agent
    extends DisconnectionDetails
                        

    Disconnection initiated by the remote side rather than by a local call to disconnect()/endSession().

    For text-only (WebSocket) sessions this also covers cases where the SDK can't tell why the remote side closed the connection, e.g. the agent gracefully ending the conversation vs. the server enforcing an idle/inactivity timeout - both close the socket normally without the client having asked for it, so both surface as Agent.

    • Method Summary

      Modifier and Type Method Description
      final String getReason()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait