Enumerations

The following enumerations are available globally.

  • Declaration

    Swift

    @objc(ZDKChatMenuAction)
    public enum ChatMenuAction : Int
  • FormFieldStatus is used to set if a field in the pre-chat or offline- form is required, optional or hidden.

    See more

    Declaration

    Swift

    @objc(ZDKFormFieldStatus)
    public enum FormFieldStatus : Int, Equatable, CustomStringConvertible
  • Delivery Status of the ChatLog

    See more

    Declaration

    Swift

    public enum DeliveryStatus : Hashable
  • Delivery status error describes the reason of a delivery failure

    See more

    Declaration

    Swift

    public enum DeliveryStatusError : Error, Hashable
  • Declaration

    Swift

    @objc
    public enum ZDKDeliveryStatus : Int, Hashable
  • Potential errors returned from the ChatProviderSDK

    • chatIsNotInitialized Will be thrown if the Chat instance isn’t initialized before initializing ChatEngine

    • disconnected Will be emitted when a request is attempted to be sent, but the connection state is disconnected.

    See more

    Declaration

    Swift

    @objc
    public enum ChatError : Int, LocalizedError, CustomNSError
  • Account Status

    See more

    Declaration

    Swift

    @objc(ZDKChatAccountStatus)
    public enum AccountStatus : Int, CustomStringConvertible
  • The error of type ChatAttachmentError is emitted when file upload has failed.

    See more

    Declaration

    Swift

    public enum ChatAttachmentError : String, LocalizedError, CustomNSError, DataConvertible, Hashable
  • Declaration

    Swift

    public enum Rating : String, Codable
  • Declaration

    Swift

    @objc
    public enum ZDKRating : Int
  • Declaration

    Swift

    @objc(ZDKChatLogType)
    public enum ChatLogType : Int
  • The status of the department.

    See more

    Declaration

    Swift

    public enum DepartmentStatus : String, Codable
    extension DepartmentStatus: CustomStringConvertible, CustomDebugStringConvertible
  • Declaration

    Swift

    @objc(ZDKDepartmentStatus)
    public enum ZDKDepartmentStatus : Int
  • Who sent the message can be user/agent/trigger

    See more

    Declaration

    Swift

    @frozen
    @objc(ZDKChatParticipant)
    public enum ChatParticipant : Int, Hashable, CaseIterable, CustomStringConvertible
  • Declaration

    Swift

    @objc(ZDKAuthenticationErrorCode)
    public enum AuthenticationErrorCode : Int
  • Declaration

    Swift

    public enum AuthenticationError : LocalizedError, CustomNSError
  • Chat session status describes current state of the session

    See more

    Declaration

    Swift

    @objc
    public enum ChatSessionStatus : Int, CustomStringConvertible
  • Represents different states of theChatSession

    See more

    Declaration

    Swift

    @objc(ZDKConnectionStatus)
    public enum ConnectionStatus : Int, CustomStringConvertible
  • Log level enum (Based on Android log vals).

    Author

    Zendesk
    See more

    Declaration

    Swift

    @objc(ZDKChatLogLevel)
    public enum LogLevel : Int
  • Utilities for dealing with MIME types.

    See more

    Declaration

    Swift

    public enum MimeUtils