Protocols

The following protocols are available globally.

  • Protocol that an object that handles authentication should conform to. Called by the ChatSDK everytime authentication is required.

    See more

    Declaration

    Swift

    @objc(ZDKJWTAuthenticator)
    public protocol JWTAuthenticator : NSObjectProtocol
  • Base protocol representation of a ChatLog

    See more

    Declaration

    Swift

    public protocol ChatLogProtocol : CustomStringConvertible, Hashable
  • Log

    Simple log interface to allow implementations as preferred.

    Author

    Zendesk
    See more

    Declaration

    Swift

    public protocol Log

Loggger factory

  • Factory for obtaining namespaced loggers.

    Author

    Zendesk
    See more

    Declaration

    Swift

    public protocol LoggerFactory

Root/Singleton Logger for obtaining log instances

  • Protocol that conforms

    Declaration

    Swift

    public protocol Loggable : AnyObject
  • Protocol that allows an object to be observed by other objects.

    When conforming to this protocol, make sure to invoke the notifyObservers method once the conforming object has been updated.

    See more

    Declaration

    Swift

    public protocol Observable : AnyObject