CometChatCallEvents class

class for handling call events.

Constructors

CometChatCallEvents.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

callEventsListener Map<String, CometChatCallEventListener>
Map to store the registered call event listeners.
getter/setter pair

Static Methods

addCallEventsListener(String listenerId, CometChatCallEventListener listenerClass) → void
Adds a call event listener with the specified tag.
ccCallAccepted(Call call) → void
Called when a call is accepted by the logged-in user.
ccCallEnded(Call call) → void
Called when a call is ended by the logged-in user.
ccCallRejected(Call call) → void
Called when a call is rejected by the logged-in user.
ccOutgoingCall(Call call) → void
Called when an outgoing call is initiated by the logged-in user.
removeCallEventsListener(String listenerId) → void
Removes the call event listener associated with the specified tag.