@Pawan Yadav The Azure Communication Calling SDK does not support real-time notifications for now. On the other hand, the Azure Communication Chat SDK supports real-time notifications for chat events such as typing notifications, message received notifications, and more.
To receive real-time notifications for chat events, you can subscribe to the events using the ChatThreadClient
object and handle the events in the callback functions. Here is an example of how to subscribe to typing notifications:
chatThreadClient.onTypingStatusChanged(new OnTypingStatusChangedListener() {
@Override
public void onTypingStatusChanged(ChatThreadClient chatThreadClient, TypingStatus typingStatus) {
// Handle typing status change
}
});