DOOCallbacks constructor

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

Implementation

DOOCallbacks({
  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,
});