addCallRingListener(handler:)

Event fired when a new call comes in

func addCallRingListener(handler: @escaping @Sendable (any Session) -> Void) -> Int32

Parameters

handler

takes one argument, the call Session

Return Value

token for use with removeEventListener