A callback handler to be invoked with the opened PushNotificationMessage.
// Register a listener
onNotificationOpened(message => {
doSomething(message);
});
// Register multiple listeners
onNotificationOpened(message => {
doSomething(message);
});
onNotificationOpened(message => {
doSomethingElse(message);
});
Registers a listener that will be triggered when a notification is opened by user.