Classes

The following classes are available globally.

ONLY SWIFT COMPATIBLE

  • This class allows modules to register observers to receive requested behavior event types. Observers must adhere to the BehaviorObserver protocol where the BehaviorManager will notify each observer via their respective onBehavior() function. Behavior types that can be tracked include: (BehaviorType)

    • Tag: BehaviorManager
    See more

    Declaration

    Swift

    @objc(SFMCSdkBehaviorManager)
    public final class BehaviorManager : NSObject, BehaviorDelegate
  • Declaration

    Swift

    @objc(SFMCSdkBehavior)
    public class Behavior : NSObject
  • Encryption Manager class is used for creating a unique encryption key (AES 256 encryption) for modules.

    • Tag: EncryptionManager
    See more

    Declaration

    Swift

    @objc(SFMCSdkEncryptionManager)
    public class EncryptionManager : NSObject
  • This class provides helper for storing encrypted key value pairs.

    • Tag: StorageManager
    See more

    Declaration

    Swift

    @objc(SFMCSdkStorageManager)
    public class StorageManager : NSObject
  • This class provides helper methods for storage.

    • Tag: SecurePrefs
    See more

    Declaration

    Swift

    @objc(SFMCSdkSecurePrefs)
    public class SecurePrefs : NSObject
  • Declaration

    Swift

    @objc(SFMCSdkConfig)
    public class Config : NSObject
  • Declaration

    Swift

    @objc(SFMCSdkConfigBuilder)
    public class ConfigBuilder : NSObject
  • Declaration

    Swift

    @objc(SFMCSdkEventBus)
    public class EventBus : NSObject
  • Declaration

    Swift

    @objc(SFMCSdkCustomEvent)
    final public class CustomEvent : NSObject, Event
  • Declaration

    Swift

    @objc(SFMCSdkEngagementEvent)
    public class EngagementEvent : NSObject, Event
  • Declaration

    Swift

    @objc(SFMCSdkSystemEvent)
    final public class SystemEvent : NSObject, Event
  • Declaration

    Swift

    @objc(SFMCSdkMessage)
    final public class Message : NSObject
    • Tag: AuthHeader
    See more

    Declaration

    Swift

    @objc(SFMCSdkAuthHeader)
    public class AuthHeader : NSObject
  • This class is is a complete tuple-like wrapper that includes WrappedRequest and WrappedResponse

    • Tag: CompletedCall
    See more

    Declaration

    Swift

    @objc(SFMCSdkCompletedCall)
    public class CompletedCall : NSObject
  • This class is a helper for making synchronous and asynchronous network calls with an optional authenticator.

    • Tag: NetworkManager
    See more

    Declaration

    Swift

    @objc(SFMCSdkNetworkManager)
    open class NetworkManager : NSObject
  • This class is a network request wrapper. Use Builder for request building.

    • Tag: WrappedRequest
    See more

    Declaration

    Swift

    @objc(SFMCSdkWrappedRequest)
    public class WrappedRequest : NSObject
  • This class is a network response wrapper

    • Tag: WrappedResponse
    See more

    Declaration

    Swift

    @objc(SFMCSdkWrappedResponse)
    public class WrappedResponse : NSObject
  • Declaration

    Swift

    @objc(SFMCSdkIDENTITY)
    public final class IDENTITY : NSObject
  • Declaration

    Swift

    @objc(SFMCSdkCompatibility)
    public class Compatibility : NSObject
  • Defines how logs are being outputted.

    • Tag: LogOutputter
    See more

    Declaration

    Swift

    @objc(SFMCSdkLogOutputter)
    open class LogOutputter : NSObject
  • Declaration

    Swift

    @objc(SFMCSdkModuleLogger)
    public final class ModuleLogger : NSObject, Logger
  • Declaration

    Swift

    @objc
    public final class SFMCSdkLogger : NSObject, Logger
  • CDP

    Declaration

    Swift

    @objc(SFMCSdkCDP)
    public final class CDP : NSObject, CdpInterface, SFMCModuleApi
  • Push module

    See more

    Declaration

    Swift

    @objc(SFMCSdkPUSH)
    public final class PUSH : NSObject, PushInterface, SFMCModuleApi
  • Declaration

    Swift

    @objc(SFMCSdk)
    public final class SFMCSdk : NSObject
  • This class provides helper components for [SFMCSdkModule] subclasses

    See more

    Declaration

    Swift

    @objc(SFMCSdkComponents)
    public class SFMCSdkComponents : NSObject