MoEngageSDKRealTimeTrigger
@objc
public class MoEngageSDKRealTimeTrigger : NSObject
Class to configure to RealTimeTrigger
-
Singleton instance
Declaration
Swift
@objc public static let sharedInstance: MoEngageSDKRealTimeTrigger
-
Method to fetch RealTimeTrigger campaigns from server.
Declaration
Swift
@objc public func syncRealTimeTriggers(forAppID appID: String? = nil, andCompletionHandler completionHandler: CompletionHandler)
Parameters
appID
MoEngage Account identifier
completionHandler
Returns true if sync is successful else false