CallObserverDelegate Protocol Reference
| Conforms to | NSObject |
| Declared in | WSCCall.h |
Overview
Delegate observer protocol that the application can implement to be informed of changes in the WSCCall.
Tasks
-
– stateChanged:cause:required method -
– mediaStateChanged:mediaStream:required method -
– callUpdated:callConfig:cause:required method
Instance Methods
callUpdated:callConfig:cause:
Called when receiving an update event for an established call.
- (void)callUpdated:(WSCCallUpdateEvent)event callConfig:(WSCCallConfig *)callConfig cause:(WSCCause *)causeParameters
- event
Update event.
- callConfig
New call configuration.
- cause
The source cause for the notification.
Discussion
Called when receiving an update event for an established call.
Declared In
WSCCall.hmediaStateChanged:mediaStream:
Called when a call has had a media state change.
- (void)mediaStateChanged:(WSCMediaStreamEvent)mediaStreamEvent mediaStream:(RTCMediaStream *)mediaStreamParameters
- mediaStreamEvent
the WSCMediaStreamEvent indicating the media stream event
- mediaStream
Media stream being updated, or NIL if not applicable
Discussion
Called when a call has had a media state change.
Declared In
WSCCall.hstateChanged:cause:
Called when a call has had a state change.
- (void)stateChanged:(WSCCallState)callState cause:(WSCCause *)causeParameters
- callState
the WSCCallState indicating current call state.
- cause
The WSCCause cause for the notification.
Discussion
Called when a call has had a state change.
Declared In
WSCCall.h