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.
Important: All properties are read-only.


PushNotificationsRegistrationOrigin

Declared In:
Headers/SNRSynerise.h

Declaration:

enum PushNotificationsRegistrationOrigin: Int {
    .appStarted,
    .clientContextChange,
    .securityReason,
    .periodicJob
}



InAppMessageData

Model representing an in-app message data.

WARNING: This is a read-only class and it is not meant to be instantiated directly.

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.
Important: All properties are read-only.
😕

We are sorry to hear that

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

😉

Awesome!

Thank you for helping improve out documentation. If you need help or have any questions, please consider contacting support.

Close modal icon Placeholder alt for modal to satisfy link checker