Skip to main content

Notifications

Notifications

info

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 -> AccountModel
  • MeetingDoctors.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 -> AccountModel
  • MeetingDoctors.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 -> AccountModel
  • MeetingDoctors.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 -> CustomerAuthModel
  • Notification.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 -> nil
  • Notification.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 -> ConnectionStatusModel
  • Notification.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 -> MessageStatusSchema
  • Notification.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 -> nil
  • Notification.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 -> MessageSchema
  • Notification.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 -> Int
  • Notification.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 -> MeetingDoctorsMessage
  • Notification.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 -> MeetingDoctorsMessage
  • Notification.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 -> nil
  • Notification.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 -> nil
  • Notification.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 -> nil
  • Notification.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 -> MeetingDoctorsVideoCallStatus
  • NSNotification.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 -> Int
  • NSNotification.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