Campaigns
SyneriseActivity
Declared In:
Headers/SNRSyneriseActivity.h
Declaration:
enum SyneriseActivity: Int {
simplePush,
banner,
walkthrough,
inAppMessage
}
SyneriseActivityAction
Declared In:
Headers/SNRSynerise.h
Declaration:
enum SyneriseActivityAction: Int {
none,
hide
}
NotificationInfo
Declared In:
Headers/SNRNotificationInfo.h
Inherits From:
BaseModel
Declaration:
class NotificationInfo: BaseModel
Properties:
Property | Type | Optional | Description |
---|---|---|---|
campaignHashId | String | no | Identifier of the notification campaign. |
campaignTitle | String | no | Identifier of the notification title. |
payload | [AnyHashable: Any] | yes | Payload of the notification. |
PushNotificationsRegistrationOrigin
Declared In:
Headers/SNRSynerise.h
Declaration:
enum PushNotificationsRegistrationOrigin: Int {
.appStarted,
.clientContextChange,
.securityReason,
.periodicJob
}
InAppMessageData
Model representing an in-app message data.
Declared In:
Headers/SNRInAppMessageData.h
Inherits From:
BaseModel
Declaration:
class InAppMessageData: BaseModel
Properties:
Property | Type | Optional | Description |
---|---|---|---|
campaignHash | String | no | Identifier of the in-app message campaign. |
variantIdentifier | String | no | Identifier of the in-app message campaign variant. |
additionalParameters | [AnyHashable: Any] | yes | Parameters additionally provided by the campaign. |
isTest | Bool | no | Specifies if the object is from a test campaign. |