MoEngage

@objc
public class MoEngage : NSObject

This class handles MoEngage Initialization

  • Shared instance of MoEngage class

    Declaration

    Swift

    @objc
    public static let sharedInstance: MoEngage

Default Instance Initialization

Secondary Instance Initialization

SDK Enable/disable methods

  • API to enable SDK usage for the account configured as default.

    Declaration

    Swift

    @objc
    public func enableSDK()
  • API to enable SDK usage for the account for Secondary instance

    Declaration

    Swift

    @objc
    public func enableSDK(appId: String? = nil)

    Parameters

    appId

    MoEngage Account Identifier

  • API to disable all features of the SDK for the account configured as default.

    Declaration

    Swift

    @objc
    public func disableSDK()
  • API to disable all features of the SDK for Secondary instance

    Declaration

    Swift

    @objc
    public func disableSDK(appId: String? = nil)

    Parameters

    appId

    MoEngage Account Identifier