Using the SharingServices Package, the Customer can resume Avaya Co-Browsing session during active session.
To resume Avaya Co-Browsing session, you must complete the following activities.
You must register onSuccess and onFailure callbacks. The onSuccess callback is called to report that Avaya Co-Browsing session is resumed. The onFailure callback is called to report a failure in resume Avaya Co-Browsing session.
var onSuccess = function (data) {
// Called to report co-browsing
// session is resumed
// Add code here to notify customer
};
var onFailure = function (error) {
// Called to report failure in
// resume co-browsing session
// Add code here to notify customer
};
Call resume() method to resume Avaya Co-Browsing Session. Agent gets notification that the Customer has resumed the session.
_cbinstance.resume().then(onSuccess.bind(this), onFailure);