-
public class DisconnectionDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDisconnectionDetails.ErrorDisconnection due to an error
public classDisconnectionDetails.AgentDisconnection 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.
public classDisconnectionDetails.UserDisconnection initiated by the user, i.e. as a direct result of a local call to
disconnect()/endSession(). Never fired for a connection that timed out or was closed by the remote side on its own.
-