Presence management

Javascript

function updatePresenceHandler(e) {
 console.log('updatePresenceHandler :' + e.detail.connectedUsersList);
}
apiCC.addEventListener("updatePresence", updatePresenceHandler);
Getting presence status of your contacts is really simple with ApiRTC. Presence can be known by adding an event listener on ‘updatePresence’