MoEngageSDKConfig
@objc
public class MoEngageSDKConfig : NSObject
MoEngage SDK Configuration class
-
Account identifier, APP ID on the MoEngage Dashboard.
Declaration
Swift
@objc public private(set) var appId: String { get }
-
Set the data-center to which the data should flow.
Declaration
Swift
@objc public var moeDataCenter: MoEngageDataCenter
-
Set the App group id to share the data between app target and extensions
Declaration
Swift
@objc public var appGroupID: String
-
Interval at which events are flushed to MoEngage backend. Minimum value is 60.
Declaration
Swift
@objc public var analyticsPeriodicFlushDuration: Int
-
Bool to disable to periodic flush of events.
Declaration
Swift
@objc public var analyticsDisablePeriodicFlush: Bool
-
Configuration for InApp Campaigns.
Declaration
Swift
@objc public var inAppConfig: MoEngageInAppConfig
-
Configuration for SDK Storage
Declaration
Swift
@objc public var storageConfig: MoEngageStorageConfig
-
Configuration for storing the items in keychain
Declaration
Swift
@objc public var keyChainConfig: MoEngageKeyChainConfig
-
Configuration for User Registration
Declaration
Swift
@objc public var userRegistrationConfig: MoEngageUserRegistrationConfig
-
Configuration for Network Request.
Declaration
Swift
@objc public var networkConfig: MoEngageNetworkRequestConfig
-
Configuration for Console Log
Declaration
Swift
@objc public var consoleLogConfig: MoEngageConsoleLogConfig
-
Configuration for Environment
-
Configuration for custom host Optionally set the custom data center host to which data should flow.
-
Configuration for custom scheme Optionally set the custom data center scheme to which data should flow.
-
Configuration for custom port Optionally set the custom data center port to which data should flow.
-
Initialize instance of MoEngageSDKConfig
Declaration
Swift
@objc public init(appId: String, dataCenter: MoEngageDataCenter)
Parameters
appId
Account identifier, APP ID on the MoEngage Dashboard.
dataCenter
The dashboard on which you have created your account.