MoEngageInAppStatTypeSwift
public enum MoEngageInAppStatTypeSwift : Int, CaseIterable
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
-
All Campaigns frequency capping limit reached during priority evaluation
- Error Code:
PRT_FC_A_C
Declaration
Swift
case priorityFcAC - Error Code:
-
Screen Load frequency capping limit reached during priority evaluation
- Error Code:
PRT_FC_S_L
Declaration
Swift
case priorityFcSL - Error Code:
-
Session Start frequency capping limit reached during priority evaluation
- Error Code:
PRT_FC_S_S
Declaration
Swift
case priorityFcSS - Error Code:
-
Custom Event frequency capping limit reached during priority evaluation
- Error Code:
PRT_FC_C_E
Declaration
Swift
case priorityFcCE - Error Code:
-
All Tags frequency capping limit reached during priority evaluation
- Error Code:
PRT_FC_ALL_T
Declaration
Swift
case priorityFcAllT - Error Code:
-
Any Tag frequency capping limit reached during priority evaluation
- Error Code:
PRT_FC_ANY_T
Declaration
Swift
case priorityFcAnyT - Error Code:
-
All Campaigns frequency capping limit reached during impression tracking
- Error Code:
IMP_FC_A_C
Declaration
Swift
case impressionFcAC - Error Code:
-
Screen Load frequency capping limit reached during impression tracking
- Error Code:
IMP_FC_S_L
Declaration
Swift
case impressionFcSL - Error Code:
-
Session Start frequency capping limit reached during impression tracking
- Error Code:
IMP_FC_S_S
Declaration
Swift
case impressionFcSS - Error Code:
-
Custom Event frequency capping limit reached during impression tracking
- Error Code:
IMP_FC_C_E
Declaration
Swift
case impressionFcCE - Error Code:
-
All Tags frequency capping limit reached during impression tracking
- Error Code:
IMP_FC_ALL_T
Declaration
Swift
case impressionFcAllT - Error Code:
-
Any Tag frequency capping limit reached during impression tracking
- Error Code:
IMP_FC_ANY_T
Declaration
Swift
case impressionFcAnyT - Error Code:
-
Converts Swift FC error code enum to Objective-C MoEngageInAppStatType enum
This method maps the Swift FC error codes to their corresponding Objective-C enum values. The Objective-C enum values are required for the stats tracking system to work correctly.
Declaration
Swift
public func toMoEngageInAppStatType() -> MoEngageInAppStatTypeReturn Value
The corresponding MoEngageInAppStatType value
-
String representation for each error code
Returns the corresponding error code string for the FC error type. This is the standardized string format used for logging and error reporting.
Declaration
Swift
public var errorCode: String { get }Return Value
The corresponding error code string (e.g., “PRT_FC_S_L”, “IMP_FC_A_C”)