- 
        Couldn't load subscription status. 
- Fork 22
Actions
The Emarsys SDK support different types of actions, what can be triggered by: Push buttons, Silent Push, Inbox buttons, In-App and Inline In-App messages or an On Event Action.
App event type action is useful to trigger a registered eventHandler in the Emarsys SDK.
An event is going to contain the following:
- name - String
- payload - Dictionary<String, NSObject>?
NoteIt is possible to set
DeepLinktype of action as well, which is not a type in the Emarsys SDK.DeepLinktype of actions will behave like a special type of App Event, where the name parameter will beDeepLinkand the payload will contain the url.
Custom event type action is useful to e.g. trigger an Interactions program at Emarsys automatically based on the users interaction instead of calling trackCustomEvent manually.
Open External URL is useful to navigate the user out of the application, by opening the specified URL in the default browser of the device.
Dismiss action is used to dismiss the shown notification. This action is only available for push type messages.