Enumerations

The following enumerations are available globally.

  • Level of log messages

    See more

    Declaration

    Swift

    @objc
    enum LogLevel
  • Presentation animation style that are used to open and close the Unblu view

    See more

    Declaration

    Swift

    enum UnbluPresentationAnimationStyle
  • Presentation shadow style that are used to open and close the Unblu view

    See more

    Declaration

    Swift

    enum UnbluPresentationShadowStyle
  • ButtonInterceptorAction From UnbluCoreSDK

    The possible outcomes for active conversation, PiP, or co-browsing buttons click handling.

    • useInternalHandler: Indicates that the button click should be handled by the default internal handlers, allowing the standard action to proceed. the standart action is UnbluClient.presentingAsModalView(reason: .., with: .morphingIndicator, shadowStyle: .shadow )

    • useCustomHandler: Indicates that the button click should be handled by a custom user-defined handler, preventing the internal handler from executing.

    Declaration

    Swift

    enum ButtonInterceptorAction
  • The color scheme (light / dark mode) of the Unblu UI.

    See more

    Declaration

    Swift

    @objc
    enum UnbluColorScheme
  • Recipient type of the conversation

    See more

    Declaration

    Swift

    enum ConversationRecipientType
  • The type of a conversation. It mainly refers to the initialization of the conversation

    See more

    Declaration

    Swift

    @objc
    enum ConversationType
  • Errors which can occur during interaction with the UnbluClient.

    See more

    Declaration

    Swift

    enum UnbluClientErrorType
  • Error which can occur while initializing the UnbluClient

    See more

    Declaration

    Swift

    enum UnbluClientInitializeError
  • Error which occurs if the UnbluClient is not initialized and a call to the api was done.

    See more

    Declaration

    Swift

    enum UnbluClientNotInitializedError
  • An enum that defines errors that can occur when interacting with an UnbluConversation

    See more

    Declaration

    Swift

    enum UnbluConversationError
  • Error which can occur on deinitialization of the UnbluClient

    See more

    Declaration

    Swift

    enum UnbluDeinitializeError
  • Error which can occur when trying to init a conversation

    See more

    Declaration

    Swift

    enum UnbluInitConversationError
  • Error type thrown when initializing (starting, joining) a conversation fails

    See more

    Declaration

    Swift

    enum UnbluInitConversationErrorType
  • Error which can occur when trying to get the person info

    See more

    Declaration

    Swift

    enum UnbluIsMobileCoBrowsingActiveError
  • Error which can occur when trying to join a conversation

    See more

    Declaration

    Swift

    enum UnbluJoinConversationError
  • Error type thrown when accept/decline call

    See more

    Declaration

    Swift

    enum UnbluNoActiveConversationErrorType
  • Error which can occur when trying to open a conversation

    See more

    Declaration

    Swift

    enum UnbluOpenConversationError
  • Error type thrown when opening a conversation

    See more

    Declaration

    Swift

    enum UnbluOpenConversationErrorType
  • Error which can occur when trying to open the conversation overview

    See more

    Declaration

    Swift

    enum UnbluOpenConversationOverviewError
  • Error type thrown when opening the conversation overview

    See more

    Declaration

    Swift

    enum UnbluOpenConversationOverviewErrorType
  • Error which can occur when trying to get the person info

    See more

    Declaration

    Swift

    enum UnbluRetrieveOpenConversationIdError
  • Error which can occur when trying to get the person info

    See more

    Declaration

    Swift

    enum UnbluRetrievePersonInfoError
  • Error which can occur when trying to start an audio call

    See more

    Declaration

    Swift

    enum UnbluStartAudioCallError
  • Error type thrown when starting an audio call

    See more

    Declaration

    Swift

    enum UnbluStartAudioCallErrorType
  • Error which can occur when trying to start a video call

    See more

    Declaration

    Swift

    enum UnbluStartVideoCallError
  • Error type thrown when starting a video call

    See more

    Declaration

    Swift

    enum UnbluStartVideoCallErrorType
  • Error type thrown when stopping a layer

    See more

    Declaration

    Swift

    enum UnbluStopLayerErrorType
  • Error which can occur when trying to stop mobile co-browsing

    See more

    Declaration

    Swift

    enum UnbluStopMobileCoBrowsingError
  • Error type thrown when stopping mobile co-browsing

    See more

    Declaration

    Swift

    enum UnbluStopMobileCoBrowsingErrorType
  • Error type thrown when switching a layer

    See more

    Declaration

    Swift

    enum UnbluSwitchLayerErrorType
  • Audio output device for an audio call

    See more

    Declaration

    Swift

    enum AudioOutputDevice
  • Represents the state of the unblu api INSIDE the webview. So the real client api of unblu

    See more

    Declaration

    Swift

    enum UnbluApiState
  • The color scheme currently in effect across the Unblu SDK. Driven by the server’s colorScheme config and by setColorScheme(_:).

    public only so the other Unblu modules can read/apply it across the module boundary; not part of the customer-facing API.

    See more

    Declaration

    Swift

    enum UnbluAppearance
  • CoreSdkModuleBridgeEvent From UnbluCoreSDK

    Represents events that can be communicated from UnbluCoreSDK to Unblu modules Internal use only

    Declaration

    Swift

    enum CoreSdkModuleBridgeEvent
  • An enum describing actions for Unblu to take when evaluating external links

    See more

    Declaration

    Swift

    enum UnbluExternalLinkHandlingPolicy
  • The type of the message text.

    See more

    Declaration

    Swift

    enum ConversationMessageTextType
  • Errors which are thrown when a notification cannot be processed

    See more

    Declaration

    Swift

    enum UnbluNotificationProcessingError
  • Possible values of the notification event tag. see: UnbluEventApi.Notification.VALUE_TAG

    See more

    Declaration

    Swift

    enum UnbluNotificationTag
  • The Keychain access level to store Unblu preferences in the iOS Keychain with. Use this when creating UnbluKeychainPreferencesStorage as part of configuring Unblu.

    See more

    Declaration

    Swift

    enum UnbluKeychainAccessControl
  • Send with the request hide ui event. It defines several reason why the UI of unblu needs to be hidden.

    See more

    Declaration

    Swift

    @objc
    enum UnbluUiHideRequestReason
  • Send with the request ui event. It defines several reason why the UI of unblu needs to be shown.

    See more

    Declaration

    Swift

    @objc
    enum UnbluUiRequestReason
  • The different states when showing hiding the chat ui. This can be used together with the event ChatVisibilityTransition to properly sync other animations or update the ui accordingly to id

    See more

    Declaration

    Swift

    @objc
    enum UnbluUiVisibilityTransition
  • Errors surfaced by the device-binding facade.

    The client-only cases (.invalidQrPayload, .keyUnavailable, .signingFailed, .bridgeUnavailable) never originate from the server. The remaining cases mirror server’s error reasons one-to-one, so host apps can switch on a specific reason (e.g. show “your device was revoked, please re-enroll” for .bindingRevoked vs “token expired, scan a new QR” for .tokenExpired). Anything we can’t classify is reported as .unknown(reason:message:) carrying the raw strings.

    See more

    Declaration

    Swift

    enum DeviceBindingError
  • Defines how the document co-browsing UI should be presented.

    See more

    Declaration

    Swift

    enum DocumentCoBrowsingPresentationMode