TextOutputCallback
public class TextOutputCallback : AbstractCallback, ObservableObject, @unchecked Sendable
A callback that provides a message to be displayed to a user with given message type.
-
MessageType of Callback
Declaration
Swift
private(set) public var messageType: MessageType { get } -
String message to be displayed to a user
Declaration
Swift
private(set) public var message: String { get } -
Initializes a new instance of
TextOutputCallbackwith the provided JSON input.Declaration
Swift
public override func initValue(name: String, value: Any) -
Returns the original JSON payload as this callback doesn’t require input.
Declaration
Swift
public override func payload() -> [String : Any]
View on GitHub