Constants
The following constants are available globally.
-
There was some form of error when sending an
SMIConversationEntry
object.Declaration
Objective-C
extern const SMIConversationEntryStatus _Nonnull SMIConversationEntryStatusError
Swift
static let error: ConversationEntryStatus
-
The initial state of an
SMIConversationEntry
when created.Declaration
Objective-C
extern const SMIConversationEntryStatus _Nonnull SMIConversationEntryStatusSending
Swift
static let sending: ConversationEntryStatus
-
The
SMIConversationEntry
has been confirmed to have been received by the messaging service.Declaration
Objective-C
extern const SMIConversationEntryStatus _Nonnull SMIConversationEntryStatusSent
Swift
static let sent: ConversationEntryStatus
-
The
SMIConversationEntry
is confirmed to have been delivered to the other participant’s client.Declaration
Objective-C
extern const SMIConversationEntryStatus _Nonnull SMIConversationEntryStatusDelivered
Swift
static let delivered: ConversationEntryStatus
-
The
SMIConversationEntry
is confirmed to have been read by the other participant.Declaration
Objective-C
extern const SMIConversationEntryStatus _Nonnull SMIConversationEntryStatusRead
Swift
static let read: ConversationEntryStatus
-
Deprecated
The
SMIConversationEntry
has failed when sent to a botDeclaration
Objective-C
extern __deprecated_enum_msg("Use `SMIConversationEntryStatusError`") const SMIConversationEntryStatus SMIConversationEntryStatusAttachmentError
Swift
static let attachmentError: ConversationEntryStatus
-
Describes a Typing type.
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesTypingIndicator
Swift
static let typingIndicator: ConversationEntryTypes
-
Describes a Message type.
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesMessage
Swift
static let message: ConversationEntryTypes
-
Describes a Choice type.
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesChoice
Swift
static let choice: ConversationEntryTypes
-
Describes a Selection type.
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesSelection
Swift
static let selection: ConversationEntryTypes
-
Describes a Participant Changed type.
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesParticipantChanged
Swift
static let participantChanged: ConversationEntryTypes
-
Describes a Read Ack.
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesReadAck
Swift
static let readAck: ConversationEntryTypes
-
Describes a Delivery Ack.
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesDeliveryAck
Swift
static let deliveryAck: ConversationEntryTypes
-
Describes a RichMessage.
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesRichMessage
Swift
static let richMessage: ConversationEntryTypes
-
Describes a RoutingWorkResult
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesRoutingWorkResult
Swift
static let routingWorkResult: ConversationEntryTypes
-
Describes a RoutingResult
Declaration
Objective-C
extern const SMIConversationEntryTypes _Nonnull SMIConversationEntryTypesRoutingResult
Swift
static let routingResult: ConversationEntryTypes
-
Describes a Text Message format.
Declaration
Objective-C
extern const SMIConversationFormatTypes _Nonnull SMIConversationFormatTypesTextMessage
Swift
static let textMessage: ConversationFormatTypes
-
Describes an Image Message format.
Declaration
Objective-C
extern const SMIConversationFormatTypes _Nonnull SMIConversationFormatTypesImageMessage
Swift
static let imageMessage: ConversationFormatTypes
-
Describes a Rich Link Message format.
Declaration
Objective-C
extern const SMIConversationFormatTypes _Nonnull SMIConversationFormatTypesRichLink
Swift
static let richLink: ConversationFormatTypes
-
Describes a ListPicker Message format.
Declaration
Objective-C
extern const SMIConversationFormatTypes _Nonnull SMIConversationFormatTypesListPicker
Swift
static let listPicker: ConversationFormatTypes
-
Describes a QuickReply Message format.
Declaration
Objective-C
extern const SMIConversationFormatTypes _Nonnull SMIConversationFormatTypesQuickReplies
Swift
static let quickReplies: ConversationFormatTypes
-
Describes a Selections Message format.
Declaration
Objective-C
extern const SMIConversationFormatTypes _Nonnull SMIConversationFormatTypesSelections
Swift
static let selections: ConversationFormatTypes
-
Describes a Attachement Message format.
Declaration
Objective-C
extern const SMIConversationFormatTypes _Nonnull SMIConversationFormatTypesAttachments
Swift
static let attachments: ConversationFormatTypes
-
Describes an webview formated message.
Declaration
Objective-C
extern const SMIConversationFormatTypes _Nonnull SMIConversationFormatTypesWebView
Swift
static let webView: ConversationFormatTypes
-
This format is unknown or unspecified. This applies to certain ephemeral events.
Declaration
Objective-C
extern const SMIConversationFormatTypes _Nonnull SMIConversationFormatTypesUnspecified
Swift
static let unspecified: ConversationFormatTypes
-
Network related errors.
Declaration
Objective-C
extern const NSErrorDomain SMIErrorNetworkDomain
Swift
let SMIErrorNetworkDomain: String
-
UserVerification related errors.
Declaration
Objective-C
extern const NSErrorDomain SMIErrorUserVerificationDomain
Swift
let SMIErrorUserVerificationDomain: String
-
A network response code error.
Declaration
Objective-C
extern NS_SWIFT_NAME(errorNetworkHTTPResponseCode) const NSErrorUserInfoKey SMIErrorNetworkHTTPResponseCode
Swift
let errorNetworkHTTPResponseCode: String
-
A network response body error.
Declaration
Objective-C
extern NS_SWIFT_NAME(errorNetworkHTTPResponseBody) const NSErrorUserInfoKey SMIErrorNetworkHTTPResponseBody
Swift
let errorNetworkHTTPResponseBody: String
-
A network file size limit error.
Declaration
Objective-C
extern NS_SWIFT_NAME(errorNetworkHTTPFileSizeLimit) const NSErrorUserInfoKey SMIErrorNetworkHTTPFileSizeLimit
Swift
let errorNetworkHTTPFileSizeLimit: String
-
Describes a successful routing.
Declaration
Objective-C
extern const SMIFailureTypes _Nonnull SMIFailureTypesNone
Swift
static let none: FailureTypes
-
Describes an unknown error.
Declaration
Objective-C
extern const SMIFailureTypes _Nonnull SMIFailureTypesUnknown
Swift
static let unknown: FailureTypes
-
Describes an error that has a submission failure.
Declaration
Objective-C
extern const SMIFailureTypes _Nonnull SMIFailureTypesSubmissionError
Swift
static let submissionError: FailureTypes
-
Describes an error that has a routing failure.
Declaration
Objective-C
extern const SMIFailureTypes _Nonnull SMIFailureTypesRoutingError
Swift
static let routingError: FailureTypes
-
Describes an error from canceled routing.
Declaration
Objective-C
extern const SMIFailureTypes _Nonnull SMIFailureTypesCancelled
Swift
static let cancelled: FailureTypes
-
Logging message associated with network operations.
Declaration
Objective-C
extern const SMILoggingCategory _Nonnull SMILoggingCategoryNetworking
Swift
static let networking: LoggingCategory
-
Logging message associated with non-network activity.
Declaration
Objective-C
extern const SMILoggingCategory _Nonnull SMILoggingCategoryAPI
Swift
static let API: LoggingCategory
-
Describes a messaging reason set to Automated Response.
Declaration
Objective-C
extern const SMIMessageReason _Nonnull SMIMessageReasonAutomatedResponse
Swift
static let automatedResponse: MessageReason
-
Describes a messaging reason set to None.
Declaration
Objective-C
extern const SMIMessageReason _Nonnull SMIMessageReasonNone
Swift
static let none: MessageReason
-
Unable to connect to the network.
Declaration
Objective-C
extern const SMINetworkConnectivityState _Nonnull SMINetworkConnectivityStateOffline
Swift
static let offline: NetworkConnectivityState
-
We have an active connection to the network.
Declaration
Objective-C
extern const SMINetworkConnectivityState _Nonnull SMINetworkConnectivityStateConnected
Swift
static let connected: NetworkConnectivityState
-
Plain text MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesTextPlain
Swift
static let textPlain: NetworkMimeTypes
-
Event stream MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesTextEventStream
Swift
static let textEventStream: NetworkMimeTypes
-
JSON MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesApplicationJSON
Swift
static let applicationJSON: NetworkMimeTypes
-
Octet stream MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesApplicationOctetStream
Swift
static let applicationOctetStream: NetworkMimeTypes
-
PNG image MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesImagePNG
Swift
static let imagePNG: NetworkMimeTypes
-
JPEG image MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesImageJPEG
Swift
static let imageJPEG: NetworkMimeTypes
-
BMP image MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesImageBMP
Swift
static let imageBMP: NetworkMimeTypes
-
GIF image MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesImageGIF
Swift
static let imageGIF: NetworkMimeTypes
-
TIFF image MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesImageTIFF
Swift
static let imageTIFF: NetworkMimeTypes
-
Multi-part form MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesMultiPartForm
Swift
static let multiPartForm: NetworkMimeTypes
-
GZIP MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesGZIP
Swift
static let GZIP: NetworkMimeTypes
-
PDF MIME type.
Declaration
Objective-C
extern SMINetworkMimeTypes SMINetworkMimeTypesApplicationPDF
Swift
static let applicationPDF: NetworkMimeTypes
-
Describes an operation for adding a participant to a conversation.
Declaration
Objective-C
extern const SMIParticipantChangedOperationTypes _Nonnull SMIParticipantChangedOperationTypesAdd
Swift
static let add: ParticipantChangedOperationTypes
-
Describes an operation for removing a participant from a conversation.
Declaration
Objective-C
extern const SMIParticipantChangedOperationTypes _Nonnull SMIParticipantChangedOperationTypesRemove
Swift
static let remove: ParticipantChangedOperationTypes
-
Participant system role.
Declaration
Objective-C
extern SMIParticipantRole SMIParticipantRoleSystem
Swift
static let system: ParticipantRole
-
Participant user role.
Declaration
Objective-C
extern SMIParticipantRole SMIParticipantRoleUser
Swift
static let user: ParticipantRole
-
Participant agent role.
Declaration
Objective-C
extern SMIParticipantRole SMIParticipantRoleAgent
Swift
static let agent: ParticipantRole
-
Participant chatbot role.
Declaration
Objective-C
extern SMIParticipantRole SMIParticipantRoleChatbot
Swift
static let chatbot: ParticipantRole
-
Participant supervisor role.
Declaration
Objective-C
extern SMIParticipantRole SMIParticipantRoleSupervisor
Swift
static let supervisor: ParticipantRole
-
A pre-chat form type.
Declaration
Objective-C
extern const SMIPreChatConfigurationFormTypes _Nonnull SMIPreChatConfigurationFormTypePreChat
Swift
static let typePreChat: SMIPreChatConfigurationFormTypes
-
A text pre-chat field.
Declaration
Objective-C
extern const SMIPreChatFieldTypes _Nonnull SMIPreChatFieldTypesText
Swift
static let text: PreChatFieldTypes
-
A text area pre-chat field.
Declaration
Objective-C
extern const SMIPreChatFieldTypes _Nonnull SMIPreChatFieldTypesTextArea
Swift
static let textArea: PreChatFieldTypes
-
An email pre-chat field.
Declaration
Objective-C
extern const SMIPreChatFieldTypes _Nonnull SMIPreChatFieldTypesEmail
Swift
static let email: PreChatFieldTypes
-
A number pre-chat field.
Declaration
Objective-C
extern const SMIPreChatFieldTypes _Nonnull SMIPreChatFieldTypesNumber
Swift
static let number: PreChatFieldTypes
-
A phone pre-chat field.
Declaration
Objective-C
extern const SMIPreChatFieldTypes _Nonnull SMIPreChatFieldTypesPhone
Swift
static let phone: PreChatFieldTypes
-
A checkbox pre-chat field.
Declaration
Objective-C
extern const SMIPreChatFieldTypes _Nonnull SMIPreChatFieldTypesCheckbox
Swift
static let checkbox: PreChatFieldTypes
-
Describes an operation explaining a routing action has been initialized.
Declaration
Objective-C
extern const SMIRoutingTypes _Nonnull SMIRoutingTypesInitial
Swift
static let initial: RoutingTypes
-
Describes an operation explaining a routing action has been transfered.
Declaration
Objective-C
extern const SMIRoutingTypes _Nonnull SMIRoutingTypesTransfer
Swift
static let transfer: RoutingTypes
-
Describes an operation for assigning a routing work result from an agent routing.
Declaration
Objective-C
extern const SMIRoutingWorkTypes _Nonnull SMIRoutingWorkTypesAssigned
Swift
static let assigned: RoutingWorkTypes
-
Describes an operation for accepted a routing work result from an agent routing.
Declaration
Objective-C
extern const SMIRoutingWorkTypes _Nonnull SMIRoutingWorkTypesAccepted
Swift
static let accepted: RoutingWorkTypes
-
Describes an operation for closing a routing work result from an agent routing.
Declaration
Objective-C
extern const SMIRoutingWorkTypes _Nonnull SMIRoutingWorkTypesClosed
Swift
static let closed: RoutingWorkTypes
-
Describes a typing started event.
Declaration
Objective-C
extern const SMITypingIndicatorTypes _Nonnull SMITypingIndicatorTypesStarted
Swift
static let started: TypingIndicatorTypes
-
Describes a typing stopped event.
Declaration
Objective-C
extern const SMITypingIndicatorTypes _Nonnull SMITypingIndicatorTypesStopped
Swift
static let stopped: TypingIndicatorTypes