Constructor and Description |
---|
Observer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
callUpdated(CallUpdateEvent state,
CallConfig callConfig,
Cause cause,
Map extHeaders)
Called when receiving an update event for an established call.
|
abstract void |
mediaStateChanged(MediaStreamEvent mediaStreamEvent,
org.webrtc.MediaStream mediaStream)
Called whenever the media state is changed.
|
abstract void |
onDataTransfer(DataTransfer dataTransfer)
Called whenever the dataTransfer is created.
|
abstract void |
stateChanged(CallState state,
Cause cause,
Map extHeaders)
Called whenever the call state is changed.
|
public abstract void stateChanged(CallState state, Cause cause, Map extHeaders)
state
- The CallState object indicating current call state.cause
- The source cause for the notification.extHeaders
- The extension headers.public abstract void mediaStateChanged(MediaStreamEvent mediaStreamEvent, org.webrtc.MediaStream mediaStream)
mediaStreamEvent
- media stream event typemediaStream
- the media streampublic abstract void callUpdated(CallUpdateEvent state, CallConfig callConfig, Cause cause, Map extHeaders)
state
- Update statecallConfig
- call configurationcause
- The source cause for the notification.extHeaders
- The extension headers.public abstract void onDataTransfer(DataTransfer dataTransfer)
dataTransfer
- DataTransfer