Enumerations
The following enumerations are available globally.
-
Possible items that appear in the right
See moreUIBarButtonItem
in the Chat screen’sUINavigationController
Declaration
Swift
@objc(ZDKChatMenuAction) public enum ChatMenuAction : Int
-
See moreFormFieldStatus
is used to set if a field in the pre-chat or offline- form isrequired
,optional
orhidden
.Declaration
Swift
@objc(ZDKFormFieldStatus) public enum FormFieldStatus : Int, Equatable, CustomStringConvertible
-
Delivery status error describes the reason of a delivery failure
See moreDeclaration
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 initializingChatEngine
disconnected
Will be emitted when a request is attempted to be sent, but the connection state is disconnected.
Declaration
Swift
@objc public enum ChatError : Int, LocalizedError, CustomNSError
-
Account Status
See moreDeclaration
Swift
@objc(ZDKChatAccountStatus) public enum AccountStatus : Int, CustomStringConvertible
-
The error of type
See moreChatAttachmentError
is emitted when file upload has failed.Declaration
Swift
public enum ChatAttachmentError : String, LocalizedError, CustomNSError, DataConvertible, Hashable
-
A rating that can be assigned to the chat
See moreDeclaration
Swift
public enum Rating : String, Codable
-
A rating that can be assigned to the chat
See moreDeclaration
Swift
@objc public enum ZDKRating : Int
-
An enum of the message types that can be in sent/received in a chat session
See moreDeclaration
Swift
@objc(ZDKChatLogType) public enum ChatLogType : Int
-
The status of the department.
See moreDeclaration
Swift
public enum DepartmentStatus : String, Codable
extension DepartmentStatus: CustomStringConvertible, CustomDebugStringConvertible
-
Who sent the message can be user/agent/trigger
See moreDeclaration
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 moreDeclaration
Swift
public enum AuthenticationError : LocalizedError, CustomNSError
-
Chat session status describes current state of the session
See moreDeclaration
Swift
@objc public enum ChatSessionStatus : Int, CustomStringConvertible
-
Represents different states of the
See moreChatSession
Declaration
Swift
@objc(ZDKConnectionStatus) public enum ConnectionStatus : Int, CustomStringConvertible
-
Log level enum (Based on Android log vals).
Declaration
Swift
@objc(ZDKChatLogLevel) public enum LogLevel : Int
-
Utilities for dealing with MIME types.
See moreDeclaration
Swift
public enum MimeUtils
-
Enum to specify how to identify an object that is subscribe to an observable
See moreDeclaration
Swift
public enum ObservableIdentifier : Hashable