CustomFieldSelector

public struct CustomFieldSelector
extension CustomFieldSelector: Equatable

A list/selector element type. It contains list of options which are selected via dropdown picker, table or related UI element.

  • The unique key identifier for the SDK contact custom fields sendable via set(_:for:).

    Declaration

    Swift

    public let ident: String
  • The title/placeholder for the textfield.

    Declaration

    Swift

    public let label: String
  • The actual value of the custom field; if exists.

    Declaration

    Swift

    public let value: String?
  • Key-value pairs with selector options.

    Key represents a value identifier on the backend side and value is used as a label in the application UI component. Integration application has to send value identifier instead of its real value because value might change.

    Declaration

    Swift

    public let options: [String : String]

Equatable

  • Declaration

    Swift

    public static func == (lhs: CustomFieldSelector, rhs: CustomFieldSelector) -> Bool