WSCCallObserverDelegate 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.
– stateChanged:cause:extHeaders:
required method
Called when a call has had a state change.
- (void)stateChanged:(WSCCallState)callState cause:(WSCCause *)cause extHeaders:(NSDictionary *)extHeaders
Parameters
callState |
the WSCCallState indicating current call state |
---|---|
cause |
The WSCCause cause for the notification |
extHeaders |
Extension headers if provided |
Discussion
Called when a call has had a state change.
Declared In
WSCCall.h
– mediaStateChanged:mediaStream:
required method
Called when a call has had a media state change.
- (void)mediaStateChanged:(WSCMediaStreamEvent)mediaStreamEvent mediaStream:(RTCMediaStream *)mediaStream
Parameters
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.h
– callUpdated:callConfig:cause:extHeaders:
required method
Called when receiving an update event for an established call.
- (void)callUpdated:(WSCCallUpdateEvent)event callConfig:(WSCCallConfig *)callConfig cause:(WSCCause *)cause extHeaders:(NSDictionary *)extHeaders
Parameters
event |
Update event |
---|---|
callConfig |
New call configuration |
cause |
The source cause for the notification |
extHeaders |
Extension headers if provided |
Discussion
Called when receiving an update event for an established call.
Declared In
WSCCall.h
– onDataTransfer:
required method
Called when a WSCDataTransfer object is created.
- (void)onDataTransfer:(WSCDataTransfer *)dataTransfer
Parameters
dataTransfer |
the WSCDataTransfer object is created for application |
---|
Discussion
Called when a WSCDataTransfer object is created.
Declared In
WSCCall.h