public abstract static class CallPackage.Observer extends Object
CallPackage to receive notifications whenever a new call arrives.| Constructor and Description |
|---|
CallPackage.Observer() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
callArrived(Call call,
CallConfig callConfig,
Map<String,?> extHeaders)
An event handler which is called when a new call is received.
|
public abstract void callArrived(Call call, CallConfig callConfig, Map<String,?> extHeaders)
Call and CallConfig are provided as parameters.call - an instance of Call objectcallConfig - an instance of CallConfig objectextHeaders - extension headers. If provided, they have been extracted from the JSON message.