NumberAttributeInputCallback

public class NumberAttributeInputCallback : AttributeInputCallback, @unchecked Sendable

A callback that collects a double value user attribute with validation against given policies.

  • The number value input collected from the user.

    Declaration

    Swift

    public var value: Double
  • Initializes a new instance of NumberAttributeInputCallback with the provided JSON input.

    Declaration

    Swift

    public override func initValue(name: String, value: Any)
  • Returns the payload with the number value and validation values.

    Declaration

    Swift

    public override func payload() -> [String : Any]