Other Enumerations

The following enumerations are available globally.

  • Attribute level enum for Portfolio user attributes

    See more

    Declaration

    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.

    Note

    Using an explicit environment setting overrides any environment configuration specified in the Info.plist file.
    See more

    Declaration

    Swift

    @objc
    public enum MoEngageWorkspaceEnvironment : UInt
  • Integration Partners for MoEngage SDK.

    See more

    Declaration

    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 description computed property returns a human-readable string corresponding to each enum case.

    See more

    Declaration

    Swift

    @objc
    public enum MoEngageStaticCardImage : Int

FC Scope Enum

  • 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 sessionStart, screenLoad, eventCustom.

    See more

    Declaration

    Swift

    public enum MoEngageFCScope : String, CaseIterable
  • Tag matching operator for FC rules. Public enum required for use in public model objects (MoEngageInAppFCTagRule)

    See more

    Declaration

    Swift

    public enum MoEngageInAppFCTagOperator
  • Defines all in-app stat tracking types used across the InApps module.

    Each case’s raw value is the string code sent to the stats API.

    Categories

    • Attempted: Campaign evaluation was attempted
    • Priority Stage: Campaign filtered out during prioritization
    • Delivery Stage: Campaign delivery failed
    • Impression Stage: Campaign display failed after delivery
    • Evaluation Stage: Campaign evaluation timed out or user left
    • Session: Session-related stat events
    • Frequency Capping (FC): FC limit reached (priority or impression stage)

    Note: Do not reorder existing cases — new cases must be appended at the end of each section.

    See more

    Declaration

    Swift

    public enum MoEngageInAppStatType : String, Codable, 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 more

    Declaration

    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:

    • sessionStarts_s (session start) rule
    • screenLoads_l (screen load) rule
    • customEventc_e (custom event) rule
    • allCampaignsa_c (all campaigns) rule
    See more

    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 more

    Declaration

    Swift

    @objc
    public enum MoEngageInAppCampaignSubType : Int
    extension MoEngageInAppCampaignSubType: Codable
  • InApp widget axis type.

    See more

    Declaration

    Swift

    @objc
    public enum MoEngageInAppAxisType : Int
  • InApp widget type.

    See more

    Declaration

    Swift

    @objc
    public enum MoEngageInAppWidgetType : Int
  • InApp widget alignment type.

    See more

    Declaration

    Swift

    @objc
    public enum MoEngageInAppWidgetAlignment : Int, Hashable
  • InApp Widget initial Visibilty status :nodoc

    See more

    Declaration

    Swift

    @objc
    public enum MoEngageInAppViewVisibility : Int
  • :nodoc Enum to get the eligible campaign

    See more

    Declaration

    Swift

    @objc
    public enum MoEngageInAppEligibleCriteria : Int
  • Navigation Type

    See more

    Declaration

    Swift

    @objc
    public enum MoEngageNavigationType : Int
  • Declaration

    Swift

    @objc
    public enum MoEngageTestInAppSessionTermination : Int
  • Declaration

    Swift

    @objc
    public enum MoEngageTestInAppEvents : Int

Public Enums