MCCordovaPlugin~notificationOpenedCallback

A callback function that’s called when a push message is opened.

Inner typedef of MCCordovaPlugin.

ParameterTypeDescription
timeStampnumberTime since the epoch when the push message was opened.
valuesObjectThe values of the notification message.
values.alertstringThe alert text of the notification message.
values.titlestringThe title text of the notification message.
values.urlstringThe URL associated with the notification message. The URL can either be a CloudPages URL or an OpenDirect URL.
values.typestringIndicates the type of notification message. Possible values: cloudPage, openDirect, or other.