Protocols

The following protocols are available globally.

  • Protocol to adhere to when creating an observer to listen to behavior events sent by the BehaviorManager

    • Tag: BehaviorObserver
    See more

    Declaration

    Swift

    @objc(SFMCSdkBehaviorObserver)
    public protocol BehaviorObserver
  • SFMCSdk Module Configuration protocol that all registered modules adopt as configuration.

    See more

    Declaration

    Swift

    @objc(SFMCSdkModuleConfig)
    public protocol ModuleConfig
  • Declaration

    Swift

    @objc(SFMCSdkEvent)
    public protocol Event
  • Declaration

    Swift

    @objc(SFMCSdkIdentityEventProtocol)
    public protocol IdentityEventProtocol : Event
  • Declaration

    Swift

    public protocol Publisher : AnyObject
  • Declaration

    Swift

    @objc
    public protocol Subscriber
  • Protocol to adhere in order to provide an interface for extending modules to implement authentication.

    • Tag: Authenticator
    See more

    Declaration

    Swift

    @objc(SFMCSdkAuthenticator)
    public protocol Authenticator
  • Declaration

    Swift

    @objc(SFMCSdkModuleIdentity)
    public protocol ModuleIdentity
  • Declaration

    Swift

    @objc(SFMCSdkCoordinates)
    public protocol Coordinates
  • Declaration

    Swift

    @objc(SFMCSdkInAppMessageEventDelegate)
    public protocol InAppMessageEventDelegate
  • Declaration

    Swift

    @objc(SFMCSdkInboxMessagesDelegate)
    public protocol InboxMessagesDelegate : UITableViewDelegate
  • Declaration

    Swift

    @objc(SFMCSdkLocationDelegate)
    public protocol LocationDelegate
  • Declaration

    Swift

    @objc(SFMCSdkURLHandlingDelegate)
    public protocol URLHandlingDelegate
  • Declaration

    Swift

    @objc(SFMCSdkInboxMessagesDataSource)
    public protocol InboxMessagesDataSource : UITableViewDataSource
  • Declaration

    Swift

    @objc
    public protocol CdpInterface
  • Declaration

    Swift

    @objc
    public protocol PushInterface
  • Declaration

    Swift

    @objc
    public protocol SFMCModule