UnbluUiRequestReason
@objc
enum UnbluUiRequestReason
Send with the request ui event. It defines several reason why the UI of unblu needs to be shown.
-
There are one or more new messages
Declaration
Swift
case newMessages
-
There is an incoming call
Declaration
Swift
case incomingCall
-
There is another not defined reason
Declaration
Swift
case other
-
There was a missed call
Declaration
Swift
case missedCall
-
There was a decline call
Declaration
Swift
case declineCall
-
There was a tap on the floating active conversation button
Declaration
Swift
case floatingActiveConversationButtonPressed
-
There was a tap on the PiP button
Declaration
Swift
case pipButtonButtonPressed
-
Full screen request from UI
Declaration
Swift
case uiFullScreenRequest
-
There was a tap on the co-browsing button to return to the conversation.
Declaration
Swift
case coBrowsingBackButtonPressed
-
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.