Notifications
Notifications
To be able to use the methods that will be explained below you have to initialize the SDK and do the authentication before.
There are some notifications of events that can be observed by the integrator.
MeetingDoctors.Authentication.Succeed (sended and observed in the SDK):
When is it notified -> When the user has been authenticated
Data model Key -> Notification.Key.MeetingDoctors.Authentication
Data model -> AccountModelMeetingDoctors.Authentication.UserStatusChanged (sended and observed in the SDK):
When is it notified -> When the user's information has been updated and their status has changed
Data model Key -> Notification.Key.MeetingDoctors.Authentication
Data model -> AccountModelMeetingDoctors.Authentication.UserBannedChanged (sended and observed in the SDK):
When is it notified -> When the user's information has been updated and their ban status has changed
Data model Key -> Notification.Key.MeetingDoctors.Authentication
Data model -> AccountModelMeetingDoctors.CustomerAuthentication.Succeed (part of the Groups SDK):
When is it notified -> When the Firebase token is registered for notifications
Data model Key -> Notification.Key.MeetingDoctors.CustomerAuthentication
Data model -> CustomerAuthModelNotification.Name.MeetingDoctors.Deauthentication.Succeed (it is sent in the SDK and must be observed by the integrating app):
When is it notified -> When the user logs out
Data model Key -> nil
Data model -> nilNotification.Name.MeetingDoctors.Socket.StatusChanged (it is sent in the SDK and must be observed by the integrating app):
When is it notified -> When socket status changes
Data model Key -> Notification.Key.MeetingDoctors.Socket.StatusChanged
Data model -> ConnectionStatusModelNotification.Name.MeetingDoctors.Socket.MessageRead (it is sent in the SDK and must be observed by the integrating app):
When is it notified -> When the user reads a message
Data model Key -> Notification.Key.MeetingDoctors.Socket.MessageRead
Data model -> MessageStatusSchemaNotification.Name.MeetingDoctors.Socket.WatchDogAct (it is sent in the SDK and must be observed by the integrating app):
When is it notified -> When the Watchdog goes into action
Data model Key -> nil
Data model -> nilNotification.Name.MeetingDoctors.Socket.MessageReceived (sended and observed in the SDK):
When is it notified -> When a message is received
Data model Key -> Notification.Key.MeetingDoctors.Socket.MessageReceived
Data model -> MessageSchemaNotification.Name.MeetingDoctors.Message.UnreadChanged (sended and observed in the SDK):
When is it notified -> When the number of messages pending to be read has changed
Data model Key -> Notification.Key.MeetingDoctors.Message.UnreadChanged
Data model -> IntNotification.Name.MeetingDoctors.Message.Sent (sended and observed in the SDK):
When is it notified -> When the user sends a message
Data model Key -> Notification.Key.MeetingDoctors.Message.Sent
Data model -> MeetingDoctorsMessageNotification.Name.MeetingDoctors.Message.Read (sended and observed in the SDK):
When is it notified -> When the user reads a message
Data model Key -> Notification.Key.MeetingDoctors.Message.Read
Data model -> MeetingDoctorsMessageNotification.Name.MeetingDoctors.Messenger.ChatEntered (it is sent in the SDK and must be observed by the integrating app):
When is it notified -> When the user enters a chat
Data model Key -> nil
Data model -> nilNotification.Name.MeetingDoctors.Messenger.ChatLeft (it is sent in the SDK and must be observed by the integrating app):
When is it notified -> When the user leaves a chat
Data model Key -> nil
Data model -> nilNotification.Name.MeetingDoctors.NPS.NPSSendSucceed (sended and observed in the SDK):
When is it notified -> When the user receives an NPS push
Data model Key -> nil
Data model -> nilNotification.Name.MeetingDoctorsVideoCall.Push (sended and observed in the SDK):
When is it notified -> When the user receives a VideoCall push
Data model Key -> Notification.Key.MeetingDoctorsVideoCall.Push
Data model -> MeetingDoctorsVideoCallStatusNSNotification.Name.MeetingDoctors.VideoCall.Cancelled (sended and observed in the SDK):
When is it notified -> When the current Videocall is cancelled
Data model Key -> Notification.Key.VideoCall.videoCallId
Data model -> IntNSNotification.Name.MeetingDoctors.VideoCall.Finished (sended and observed in the SDK):
When is it notified -> When the VideoCall ends
Data model Key -> Notification.Key.VideoCall.videoCallId
Data model -> Int