-
Notifications
You must be signed in to change notification settings - Fork 2
CallHangupEvent
Ajša Terko edited this page Jun 26, 2023
·
2 revisions
Getter for the errorCode field.
-
ErrorCode- Value of theerrorCodefield that contains call hangup information.
func onHangup(_ callHangupEvent: CallHangupEvent) {
os_log("Call ended. Status: %@", callHangupEvent.errorCode.name)
}Getter for the totalMediaStats field.
-
TotalMediaStats- Value of thetotalMediaStatsfield that contains summary of the total media stats after hanging up the call.
func onHangup(_ callHangupEvent: CallHangupEvent) {
os_log("Call ended. Total media stats: %@", callHangupEvent.totalMediaStats)
}