StringAttributeInputCallback

public class StringAttributeInputCallback : AttributeInputCallback, @unchecked Sendable

A callback that collects a single string user attribute with validation against given policies.

  • The string value input collected from the user.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

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