In-App Chat Callbacks
Register a callback that fires whenever your Android app receives a new chat message, so you can show your own UI. Includes a memory leak warning.
Last updated
Register a callback that fires whenever your Android app receives a new chat message, so you can show your own UI. Includes a memory leak warning.
These APIs hold the callbacks in a strong reference, so we strongly suggest to avoid registering callbacks without unregistering them when needed, as it may cause a memory leak.
This block is executed each time a new message is received. This can be used to show your own UI when a new message is received.
Replies.setOnNewReplyReceivedCallback(new Runnable() {
@Override
public void run() {
// Show an alert to notify users about a new message.
}
});Replies.setOnNewReplyReceivedCallback {
// Show an alert to notify users about a new message.
}Last updated