registerForAllSentMessages method

  1. @override
void registerForAllSentMessages (
  1. MessageCallbackFunction sentMsgCallback
)
override

Registers a callback to be called whenever a message is sent.

Implementation

@override
void registerForAllSentMessages(MessageCallbackFunction sentMsgCallback) {
  sentMessageCallbacks.add(sentMsgCallback);
}