BooleanAttributeInputCallback
public class BooleanAttributeInputCallback : AttributeInputCallback, @unchecked Sendable
A callback that collects a single boolean user attribute with validation against given policies.
-
The boolean value input collected from the user.
Declaration
Swift
public var value: Bool -
Initializes a new instance of
BooleanAttributeInputCallbackwith the provided JSON input.Declaration
Swift
public override func initValue(name: String, value: Any) -
Returns the payload with the boolean value and validation values.
Declaration
Swift
public override func payload() -> [String : Any]
View on GitHub