events
Note: This API is supported from version 6.5.1.
The Mobilisten Flutter Calls SDK provides an interface for various call event callbacks to help developers track events related to call UI, such as when the queue position changes.
Supported events:
| Event | Invoken when |
| QueuePositionChanged | The queue position of a user changes. |
| CallStateChanged | The call state changes, such as incoming/outgoing or status updates like calling, ringing and more. |
Example
CopiedZohoSalesIQCalls.events.listen((event) {
if (event is CallStateChanged) {
} else if (event is QueuePositionChanged) {
}
});