Skip to main content
This page documents the classes used in the CometChat Calls SDK. These objects are returned by call log queries and call session methods. All properties on proper classes are accessed via getter methods. Listener event objects are plain objects accessed via dot notation.

CallLog

CallLog represents a call history entry. It is returned by CallLogRequestBuilder.fetchNext() and CallLogRequestBuilder.fetchPrevious().

Properties


CallUser

CallUser represents a user within the Calls SDK context (used in CallLog as initiator/receiver).

Properties


CallGroup

CallGroup represents a group within the Calls SDK context (used in CallLog as receiver for group calls).

Properties


Participant

Participant represents a user who participated in a call. It is available via getParticipants() on a CallLog object.

Properties


Recording

Recording represents a call recording. It is available via getRecordings() on a CallLog object.

Properties


OngoingCallListener

For the full OngoingCallListener documentation including all callbacks and parameter shapes, see the All Real-Time Listeners page.

CometChatCallsException

CometChatCallsException represents an error from the Calls SDK. It is received in the onError callback of OngoingCallListener and in rejection callbacks of Calls SDK promise-based methods.

Properties


MediaDeviceInfo

MediaDeviceInfo represents an audio or video device available on the user’s system. It is returned by getAudioInputDevices(), getAudioOutputDevices(), and getVideoInputDevices() methods, and also received in the onMediaDeviceListUpdated callback. These objects follow the browser’s MediaDeviceInfo interface shape.

Properties