Protocols

The following protocols are available globally.

  • The protocol to which all action classes conform.

    See more

    Declaration

    Swift

    public protocol BotsAction
  • The protocol to which all bots message classes conform.

    See more

    Declaration

    Swift

    public protocol BotsMessage
  • The protocol to which all user message classes conform.

    See more

    Declaration

    Swift

    public protocol UserMessage
  • Classes which conform to this protocol will have access to a set of important callback methods on specific events.

    See more

    Declaration

    Swift

    public protocol BotsEventListener : AnyObject
  • Classes which conform to this protocol have a access to a set of methods which enable the user to optionally modify the message payloads

    See more

    Declaration

    Swift

    public protocol BotsMessageServiceDelegate : AnyObject
  • Classes which conform to this protocol will have access to a set of important callback methods on specific speech events.

    See more

    Declaration

    Swift

    public protocol SpeechEventListener : AnyObject
  • A protocol which is used to generate a new authentication token.

    See more

    Declaration

    Swift

    public protocol AuthenticationTokenProvider : AnyObject
  • Classes will conform to this protocol have to implement a set of methods in order to integrate a custom TTS service.

    See more

    Declaration

    Swift

    public protocol TTSService : AnyObject