Other Protocols
The following protocols are available globally.
-
Protocol for all Analytics related Events
See moreDeclaration
Swift
@objc public protocol MoEngageAnalyticsCallBack
-
Date provider abstraction for testability
Provides a consistent interface for obtaining the current date/time, allowing for deterministic time-based testing through mock implementations.
See moreDeclaration
Swift
public protocol MoEngageDateProvider -
The delegate that handles fullscreen resize.
See moreDeclaration
Swift
@objc public protocol MoEngageInAppWidgetResizingDelegate : NSObjectProtocol -
Listen to widget resize callback.
See moreDeclaration
Swift
@objc public protocol MoEngageInAppWidgetResizingCallbackListnerDelegate -
Declaration
Swift
@objc public protocol MoEngageTestInAppProtocol -
Protocol that both MoEngageActivityAttributes and MoEngageTransactionActivityAttributes conform to
See moreDeclaration
Swift
@available(iOS 18, *) public protocol MoEngageActivityAttributesProtocol : ActivityAttributes where Self.ContentState : MoEngageContentStateProtocol -
Protocol for campaign data that both regular and transaction campaigns conform to
See moreDeclaration
Swift
@available(iOS 18, *) public protocol MoEngageCampaignProtocol : Decodable, Encodable, Hashable -
Protocol for instance data that both regular and transaction instances conform to
See moreDeclaration
Swift
@available(iOS 18, *) public protocol MoEngageInstanceProtocol : Decodable, Encodable, Hashable -
Protocol for content state that both regular and transaction content states conform to
See moreDeclaration
Swift
@available(iOS 18, *) public protocol MoEngageContentStateProtocol : Decodable, Encodable, Hashable -
Protocol defining common properties for campaign result types
See moreDeclaration
Swift
@available(iOS 18, *) public protocol CampaignResultProtocol -
Protocol defining common properties for campaign models
See moreDeclaration
Swift
@available(iOS 18, *) public protocol CampaignProtocol
Other Protocols Reference