Avaya Client SDK

< Back to Package Overview

Avaya Co-Browsing Session Information

Using the SharingServices Package, you can easily get the Avaya Co-Browsing Session information.

The method to retrieve the Avaya Co-Browsing Session information is obtained from the CobrowseSessionInfo object.

Retrieving Avaya Co-Browsing Session information

To get the complete Avaya Co-Browsing session data, use the getAgentData() method. This function returns the CobrowseSessionInfo object.

AvayaCoBrowseClientServices.Base.CobrowseSessionInfo cobrowseSessionInfo = _cbinstance.getAgentData();

To get the Agent name, use the getAgentName() method.

String agentName = cobrowseSessionInfo.getAgentName();

To get the Agent control state, use the getAgentControlState() method.

String agentControlState = cobrowseSessionInfo.getAgentControlState();

To get the Agent authcode, use the getAgentAuthCode() method.

String agentAuthCode = cobrowseSessionInfo.getAgentAuthCode();

To get the Avaya Co-Browsing session state, use the getCobrowseState() method.

String cobrowseState = cobrowseSessionInfo.getCobrowseState();

To get the reason when a Customer disconnects the Avaya Co-Browsing session, use the getCustomerReasonForDisconnect() method.

String customerReasonForDisconnect = cobrowseSessionInfo.getCustomerReasonForDisconnect();

To get the passphrase, use the getPassPhrase() method.

String passphrase = cobrowseSessionInfo.getPassPhrase();