-
Notifications
You must be signed in to change notification settings - Fork 2
CallEventListener
Ajša Terko edited this page Feb 22, 2023
·
3 revisions
void onRinging(CallRingingEvent callRingingEvent)
void onEarlyMedia(CallEarlyMediaEvent callEarlyMediaEvent)
void onEstablished(CallEstablishedEvent callEstablishedEvent)
void onHangup(CallHangupEvent callHangupEvent)
void onError(ErrorEvent errorEvent)
Method that is triggered when a call is ringing
-
callRingingEvent
:CallRingingEvent
- Event instance which is used when a call is ringing. Does not contain any additional data.
N/A
Method that is triggered when there is media to be played before establishing a call.
-
callEarlyMediaEvent
:CallEarlyMediaEvent
- Event instance which is used when there is media to be played before establishing a call. Does not contain any additional data.
N/A
Method that is triggered when a call is established.
-
callEstablishedEvent
:CallEstablishedEvent
- Event instance relevant for establishing a call. Does not contain any additional data.
N/A
Method that is triggered when a call has been hung up. This covers both normal hang up and when a call has been hung up because of an error.
-
callHangupEvent
:CallHangupEvent
- Event instance which contains data relevant for the hangup. Contains data about the hangup error code, which informs if the call ended without an error or with a certain error (depending on the code).
N/A
Method that is triggered when a call has encountered an error which does not hang up the call.
-
errorEvent
:ErrorEvent
- Event instance which contains data relevant to the error.
N/A