UnbluUiVisibilityTransition
@objc
enum UnbluUiVisibilityTransition
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
-
State when chat starts to fade in
Declaration
Swift
case fadeIn
-
State after the chat has completely fadded in and is fully usable
Declaration
Swift
case fadedIn
-
State when chat starts to fade out
Declaration
Swift
case fadeOut
-
State after the chat has completely fadded out and is not longer visible
Declaration
Swift
case fadedOut
-
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.