Enumerations

The following enumerations are available globally.

  • Describes a set of types of an SMIEntryAck object.

    See more

    Declaration

    Objective-C

    enum SMIAcknowledgementTypes : NSInteger {}

    Swift

    enum AcknowledgementTypes : Int, @unchecked Sendable
  • The type of authorization.

    See more

    Declaration

    Objective-C

    enum SMIAuthorizationTypes : NSUInteger {}

    Swift

    enum AuthorizationTypes : UInt, @unchecked Sendable
  • The status of the conversation.

    See more

    Declaration

    Objective-C

    enum SMIConversationStatus : NSUInteger {}

    Swift

    enum ConversationStatus : UInt, @unchecked Sendable
  • List of error codes.

    See more

    Declaration

    Objective-C

    enum SMIErrorCodes : NSInteger {}

    Swift

    enum ErrorCodes : Int, @unchecked Sendable
  • The type of pre-chat error.

    See more

    Declaration

    Objective-C

    enum SMIFormErrorType : NSUInteger {}

    Swift

    enum FormErrorType : UInt, @unchecked Sendable
  • Logging level values.

    See more

    Declaration

    Objective-C

    enum SMILoggingLevel : NSUInteger {}

    Swift

    enum LoggingLevel : UInt, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, SMINetworkHTTPStatusCode) {
        SMINetworkHTTPStatusCodeContinue = 100,
        SMINetworkHTTPStatusCodeSwitchingProtocol = 101,
        SMINetworkHTTPStatusCodeProcessing = 102,
        SMINetworkHTTPStatusCodeEarlyHints = 103,
    
        SMINetworkHTTPStatusCodeOK = 200,
        SMINetworkHTTPStatusCodeCreated = 201,
        SMINetworkHTTPStatusCodeAccepted = 202,
        SMINetworkHTTPStatusCodeNonAuthoritaveInformation = 203,
        SMINetworkHTTPStatusCodeNoContent = 204,
        SMINetworkHTTPStatusCodeResetContent = 205,
        SMINetworkHTTPStatusCodePartialContent = 206,
        SMINetworkHTTPStatusCodeMultiStatus = 207,
        SMINetworkHTTPStatusCodeAlreadyReported = 208,
        SMINetworkHTTPStatusCodeIMUsed = 226,
    
        SMINetworkHTTPStatusCodeMultipleChoice = 300,
        SMINetworkHTTPStatusCodeMovedPermanently = 301,
        SMINetworkHTTPStatusCodeFound = 302,
        SMINetworkHTTPStatusCodeSeeOther = 303,
        SMINetworkHTTPStatusCodeNotModified = 304,
        SMINetworkHTTPStatusCodeUseProxy = 305,
        SMINetworkHTTPStatusCodeUnused = 306,
        SMINetworkHTTPStatusCodeTemporaryRedirect = 307,
        SMINetworkHTTPStatusCodePermanentRedirect = 308,
    
        SMINetworkHTTPStatusCodeBadRequest = 400,
        SMINetworkHTTPStatusCodeUnauthorized = 401,
        SMINetworkHTTPStatusCodePaymentRequired = 402,
        SMINetworkHTTPStatusCodeForbidden = 403,
        SMINetworkHTTPStatusCodeNotFound = 404,
        SMINetworkHTTPStatusCodeMethodNotAllowed = 405,
        SMINetworkHTTPStatusCodeNotAcceptable = 406,
        SMINetworkHTTPStatusCodeProxyAuthenticationRequired = 407,
        SMINetworkHTTPStatusCodeRequestTimeout = 408,
        SMINetworkHTTPStatusCodeConflict = 409,
        SMINetworkHTTPStatusCodeGone = 410,
        SMINetworkHTTPStatusCodeLengthRequired = 411,
        SMINetworkHTTPStatusCodePreconditionFailed = 412,
        SMINetworkHTTPStatusCodePayloadTooLarge = 413,
        SMINetworkHTTPStatusCodeURITooLong = 414,
        SMINetworkHTTPStatusCodeUnsupportedMediaType = 415,
        SMINetworkHTTPStatusCodeRangeNotSatisfiable = 416,
        SMINetworkHTTPStatusCodeExpectationFailed = 417,
        SMINetworkHTTPStatusCodeImATeapot = 418,
        SMINetworkHTTPStatusCodeMisdirectedRequest = 421,
        SMINetworkHTTPStatusCodeUnprocessableEntity = 422,
        SMINetworkHTTPStatusCodeLocked = 423,
        SMINetworkHTTPStatusCodeFailedDependency = 424,
        SMINetworkHTTPStatusCodeTooEarly = 425,
        SMINetworkHTTPStatusCodeUpgradeRequired = 426,
        SMINetworkHTTPStatusCodePreconditionRequired = 428,
        SMINetworkHTTPStatusCodeTooManyRequests = 429,
        SMINetworkHTTPStatusCodeRequestHeaderFieldsTooLarge = 431,
        SMINetworkHTTPStatusCodeUnavailableForLegalReasons = 451,
    
        SMINetworkHTTPStatusCodeInternalServerError = 500,
        SMINetworkHTTPStatusCodeNotImplemented = 501,
        SMINetworkHTTPStatusCodeBadGateway = 502,
        SMINetworkHTTPStatusCodeServiceUnavailable = 503,
        SMINetworkHTTPStatusCodeGatewayTimeout = 504,
        SMINetworkHTTPStatusCodeHTTPVersionNotSupported = 505,
        SMINetworkHTTPStatusCodeVariantAlsoNegotiates = 506,
        SMINetworkHTTPStatusCodeInsufficientStorage = 507,
        SMINetworkHTTPStatusCodeLoopDetected = 508,
        SMINetworkHTTPStatusCodeNotExtended = 510,
        SMINetworkHTTPStatusCodeNetworkAuthenticationRequired = 511
    }

    Swift

    enum NetworkHTTPStatusCode : Int, @unchecked Sendable
  • The type of pre-chat error.

    See more

    Declaration

    Objective-C

    enum SMIPreChatErrorTypes : NSUInteger {}

    Swift

    enum PreChatErrorTypes : UInt, @unchecked Sendable
  • The offline and network behaviour of an entry query.

    • SMIQueryBehaviourLocalWithNetwork
    • SMIQueryBehaviourLocalOnly
    • SMIQueryBehaviourWaitForNetwork
    See more

    Declaration

    Objective-C

    enum SMIQueryBehaviour : NSUInteger {}

    Swift

    enum QueryBehaviour : UInt, @unchecked Sendable
  • The reason for a credential challenge. Possible values:

    • SMIChallengeReasonNone
    • SMIChallengeReasonInitial
    • SMIChallengeReasonMalformed
    • SMIChallengeReasonExpired
    • SMIChallengeReasonRefresh
    See more

    Declaration

    Objective-C

    enum SMIChallengeReason : NSUInteger {}

    Swift

    enum ChallengeReason : UInt, @unchecked Sendable