Other Enumerations
The following enumerations are available globally.
-
Attribute level enum for Portfolio user attributes
See moreDeclaration
Swift
@objc public enum MoEngageUserAttributeLevel : Int, CaseIterable -
Specifies the environment to use for MoEngage SDK configuration.
This enum allows developers to explicitly control which environment (test or live) the SDK should use, regardless of the settings in the Info.plist file.
See moreNote
Using an explicit environment setting overrides any environment configuration specified in the Info.plist file.Declaration
Swift
@objc public enum MoEngageWorkspaceEnvironment : UInt -
Integration Partners for MoEngage SDK.
See moreDeclaration
Swift
@objc public enum MoEngagePartnerIntegrationType : Int, CustomStringConvertible -
Declaration
Swift
public enum AnyMoEngageCodable : Codable, Hashable -
Environment of the SDK
See more -
A representation of static card images for MoEngage’s UI components.
This enumeration defines the possible states of a card image:
- pinnedCard: Indicates that the card is pinned.
- noCard: Indicates that no card is present.
- loadingPlaceHolder: Indicates that a loading placeholder image should be used.
The
See moredescriptioncomputed property returns a human-readable string corresponding to each enum case.Declaration
Swift
@objc public enum MoEngageStaticCardImage : Int
-
Frequency Capping scope types for trigger and rule matching
Defines the different scopes at which FC rules can be applied:
- Trigger scopes: When to evaluate FC (session start, screen load, custom event)
- Rule scopes: How to match campaigns (all campaigns, tags, specific campaign)
It’s equivalent to other trigger types like
See moresessionStart,screenLoad,eventCustom.Declaration
Swift
public enum MoEngageFCScope : String, CaseIterable -
Tag matching operator for FC rules. Public enum required for use in public model objects (MoEngageInAppFCTagRule)
See moreDeclaration
Swift
public enum MoEngageInAppFCTagOperator -
This enum defines error codes specifically for the Frequency Capping (FC) feature in MoEngage InApps
Error Categories
- Priority Stage Errors: Occur during campaign evaluation before display
- Impression Stage Errors: Occur during impression tracking after display
Declaration
Swift
public enum MoEngageInAppStatTypeSwift : Int, CaseIterable -
Represents the reason why a campaign was blocked by Frequency Capping
This enum provides detailed information about why a campaign was blocked, including the specific limits that were exceeded and current counts.
See moreDeclaration
Swift
public enum MoEngageInAppFCBlockReason -
Represents the different trigger types for Frequency Capping evaluation
This enum defines the various scenarios where FC rules can be applied:
- sessionStart: When a new session begins
- screenLoad: When a screen is loaded
- customEvent: When a custom event is triggered
- allCampaigns: Global evaluation for all campaigns
Each trigger type corresponds to specific FC rules in the global settings:
sessionStart→s_s(session start) rulescreenLoad→s_l(screen load) rulecustomEvent→c_e(custom event) ruleallCampaigns→a_c(all campaigns) rule
Declaration
Swift
public enum MoEngageInAppFCTriggerType : String, CaseIterable -
Enumeration representing the sub-type classification of in-app campaigns.
This enum defines different categories of in-app campaigns based on their purpose and behavior. It helps in categorizing campaigns for better targeting and analytics.
See moreDeclaration
Swift
@objc public enum MoEngageInAppCampaignSubType : Intextension MoEngageInAppCampaignSubType: Codable -
InApp Widget initial Visibilty status :nodoc
See moreDeclaration
Swift
@objc public enum MoEngageInAppViewVisibility : Int -
:nodoc Enum to get the eligible campaign
See moreDeclaration
Swift
@objc public enum MoEngageInAppEligibleCriteria : Int -
Navigation Type
See moreDeclaration
Swift
@objc public enum MoEngageNavigationType : Int -
Declaration
Swift
@objc public enum MoEngageTestInAppSessionTermination : Int -
Declaration
Swift
@objc public enum MoEngageTestInAppEvents : Int
Other Enumerations Reference