Enumerations

The following enumerations are available globally.

  • Possible items that appear in the right UIBarButtonItem in the Chat screen’s UINavigationController

    See more

    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
  • Delivery Status of the ChatLog

    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
  • A rating that can be assigned to the chat

    See more

    Declaration

    Swift

    public enum Rating : String, Codable
  • A rating that can be assigned to the chat

    See more

    Declaration

    Swift

    @objc
    public enum ZDKRating : Int
  • An enum of the message types that can be in sent/received in a chat session

    See more

    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
  • Who sent the message can be user/agent/trigger

    See more

    Declaration

    Swift

    @frozen
    @objc(ZDKChatParticipant)
    public enum ChatParticipant : Int, Hashable, CaseIterable, CustomStringConvertible
  • Possible Authentication related error codes

    Declaration

    Swift

    @objc(ZDKAuthenticationErrorCode)
    public enum AuthenticationErrorCode : Int
  • Possible Authentication related errors

    See more

    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

    Declaration

    Swift

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

    See more

    Declaration

    Swift

    public enum MimeUtils
  • Enum to specify how to identify an object that is subscribe to an observable

    See more

    Declaration

    Swift

    public enum ObservableIdentifier : Hashable