Protocols
The following protocols are available globally.
-
Protocol describing the details of a preferences menu data
See moreDeclaration
Swift
public protocol PreferencesMenuData
-
Protocol describing the details of a menu data
See moreDeclaration
Swift
public protocol MenuData
-
Protocol describing the details of a menu action
See moreDeclaration
Swift
public protocol MenuAction
-
Protocol describing a response consumable by the
See moreMessagingPublisher
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 moreDeclaration
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
See moreMessageType
Declaration
Swift
public protocol AnyViewable
-
Protocol describing details about the sender of a message
See moreDeclaration
Swift
public protocol SenderInfo
-
Protocol describing the details of an Postback data
See moreDeclaration
Swift
public protocol PostbackData
-
Protocol describing the details of a content Value data
See moreDeclaration
Swift
public protocol ValueData
-
A protocol used to represent the data for a message containing an URL (image or video).
See moreDeclaration
Swift
public protocol MediaItem
-
Protocol describing the sections of a object card
See moreDeclaration
Swift
public protocol ObjectSectionData
-
Protocol describing the content of an object card
See moreDeclaration
Swift
public protocol ObjectMessageData : CardMessageData
-
Protocol describing the header of a card
See moreDeclaration
Swift
public protocol HeaderMessageData
-
Protocol describing a list
See moreDeclaration
Swift
public protocol ListMessageData
-
Protocol describing a form
See moreDeclaration
Swift
public protocol FormMessageData
-
Protocol describing a set of buttons
See moreDeclaration
Swift
public protocol ButtonsMessageData
-
Protocol describing a carousel card
See moreDeclaration
Swift
public protocol CarouselMessageData
-
Protocol describing the content of a carousel item
Declaration
Swift
public protocol CarouselItemMessageData : CardMessageData
-
Protocol describing a card
See moreDeclaration
Swift
public protocol CardMessageData
-
Protocol used by your MessagingPublisher to get messages from the backend.
See moreDeclaration
Swift
public protocol MessageDelivering
-
A MessagingPublisher is a Combine that takes care of responding to user-triggered events and publish streams of responses. The
See moreMessagingViewModel
class relies on this publisher to get the stream of new messages available for the UI. This publisher nevers fails and emits Array ofMessageData
Declaration
Swift
public protocol MessagingPublisher : Publisher where Self.Failure == Never, Self.Output == Result<ResponseMessageData, Error>
-
Protocol for ColorPalette.
See moreDeclaration
Swift
public protocol ColorPalette