SolevatoCallbacks constructor

SolevatoCallbacks({
  1. void onWelcome()?,
  2. void onPing()?,
  3. void onConfirmedSubscription()?,
  4. void onMessageReceived(
    1. SolevatoMessage
    )?,
  5. void onMessageSent(
    1. SolevatoMessage,
    2. String
    )?,
  6. void onMessageDelivered(
    1. SolevatoMessage,
    2. String
    )?,
  7. void onMessageUpdated(
    1. SolevatoMessage
    )?,
  8. void onPersistedMessagesRetrieved(
    1. List<SolevatoMessage>
    )?,
  9. void onMessagesRetrieved(
    1. List<SolevatoMessage>
    )?,
  10. void onConversationStartedTyping()?,
  11. void onConversationStoppedTyping()?,
  12. void onConversationIsOnline()?,
  13. void onConversationIsOffline()?,
  14. void onConversationResolved(
    1. SolevatoConversation
    )?,
  15. void onError(
    1. SolevatoClientException
    )?,
  16. void onContactResolved(
    1. SolevatoContact
    )?,
})

Implementation

SolevatoCallbacks({
  this.onWelcome,
  this.onPing,
  this.onConfirmedSubscription,
  this.onMessageReceived,
  this.onMessageSent,
  this.onMessageDelivered,
  this.onMessageUpdated,
  this.onPersistedMessagesRetrieved,
  this.onMessagesRetrieved,
  this.onConversationStartedTyping,
  this.onConversationStoppedTyping,
  this.onConversationIsOnline,
  this.onConversationIsOffline,
  this.onConversationResolved,
  this.onError,
  this.onContactResolved,
});