Events
How to handle notifications from the messaging server
Events
EventHandler
ChatSDK.events()ChatSDK.events().sourceOnMain().subscribe(event -> {
});ChatSDK.events().source().subscribe(event -> {
});ChatSDK.events().errorSourceOnMain().subscribe(throwable -> {
});List of available events
Filtering
Accessing Event Object
Removing the listener
Hooks
Sync vs Async
Sync
Async
Available Hooks
Access data from the hook
Remove a hook
Last updated