UnbluUiHideRequestReason

@objc
enum UnbluUiHideRequestReason

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

  • Mobile co-browsing is starting

    Declaration

    Swift

    case mobileCoBrowsingStarting
  • There is another not defined reason

    Declaration

    Swift

    case other
  • The hide request was the result of some user action, e.g. they tapped on a button to close the Unblu UI.

    Declaration

    Swift

    case requestedByUser
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional(PaperSize.Legal)"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: Int)

    Parameters

    rawValue

    The raw value to use for the new instance.