Enumerations
The following enumerations are available globally.
-
Possible items that appear in the right
See moreUIBarButtonItemin the Chat screen’sUINavigationControllerDeclaration
Swift
@objc(ZDKChatMenuAction) public enum ChatMenuAction : Int -
See moreFormFieldStatusis used to set if a field in the pre-chat or offline- form isrequired,optionalorhidden.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
ChatLogDeclaration
Swift
@objc public enum ZDKDeliveryStatus : Int, Hashable -
Potential errors returned from the ChatProviderSDK
chatIsNotInitializedWill be thrown if the Chat instance isn’t initialized before initializingChatEnginedisconnectedWill 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 moreChatAttachmentErroris 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, Codableextension 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 moreChatSessionDeclaration
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
Install in Dash
Enumerations Reference