MoEngageInAppCampaignSubType

@objc
public enum MoEngageInAppCampaignSubType : Int
extension MoEngageInAppCampaignSubType: Codable

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.

  • General purpose campaign with standard behavior.

    Declaration

    Swift

    case general
  • Campaign specifically designed for push notification opt-in requests.

    Declaration

    Swift

    case pushOptIn
  • Get campaign sub type enum for string value.

    Declaration

    Swift

    public static func getCampaignSubType(forStrValue campaignSubType: String?) -> MoEngageInAppCampaignSubType

    Parameters

    campaignSubType

    The sub type string to parse.

    Return Value

    Campaign sub type for provided string, by default general.