Protocols

The following protocols are available globally.

  • Protocol describing the details of a preferences menu data

    See more

    Declaration

    Swift

    public protocol PreferencesMenuData
  • Protocol describing the details of a menu data

    See more

    Declaration

    Swift

    public protocol MenuData
  • Protocol describing the details of a menu action

    See more

    Declaration

    Swift

    public protocol MenuAction
  • Protocol describing a response consumable by the MessagingPublisher

    See more

    Declaration

    Swift

    public protocol ResponseMessageData
  • A standard protocol representing a message. Use this protocol to create your own message object to be used by the SDK.

    See more

    Declaration

    Swift

    public protocol MessageData
  • Protocol describing custom content provided by application team to render a custom unsupported cell. Holds the data and the view.

    @see MessageType

    See more

    Declaration

    Swift

    public protocol AnyViewable
  • Protocol describing details about the sender of a message

    See more

    Declaration

    Swift

    public protocol SenderInfo
  • Protocol describing the details of an Postback data

    See more

    Declaration

    Swift

    public protocol PostbackData
  • Protocol describing the details of a content Value data

    See more

    Declaration

    Swift

    public protocol ValueData
  • A protocol used to represent the data for a message containing an URL (image or video).

    See more

    Declaration

    Swift

    public protocol MediaItem
  • Protocol describing the sections of a object card

    See more

    Declaration

    Swift

    public protocol ObjectSectionData
  • Protocol describing the content of an object card

    See more

    Declaration

    Swift

    public protocol ObjectMessageData : CardMessageData
  • Protocol describing the header of a card

    See more

    Declaration

    Swift

    public protocol HeaderMessageData
  • Protocol describing a list

    See more

    Declaration

    Swift

    public protocol ListMessageData
  • Protocol describing a form

    See more

    Declaration

    Swift

    public protocol FormMessageData
  • Protocol describing a set of buttons

    See more

    Declaration

    Swift

    public protocol ButtonsMessageData
  • Protocol describing a carousel card

    See more

    Declaration

    Swift

    public protocol CarouselMessageData
  • Protocol describing the content of a carousel item

    Declaration

    Swift

    public protocol CarouselItemMessageData : CardMessageData
  • Protocol describing a card

    See more

    Declaration

    Swift

    public protocol CardMessageData
  • Protocol used by your MessagingPublisher to get messages from the backend.

    See more

    Declaration

    Swift

    public protocol MessageDelivering
  • A MessagingPublisher is a Combine that takes care of responding to user-triggered events and publish streams of responses. The MessagingViewModel class relies on this publisher to get the stream of new messages available for the UI. This publisher nevers fails and emits Array of MessageData

    See more

    Declaration

    Swift

    public protocol MessagingPublisher : Publisher where Self.Failure == Never, Self.Output == Result<ResponseMessageData, Error>
  • Protocol for ColorPalette.

    See more

    Declaration

    Swift

    public protocol ColorPalette