Attributes

@objc(UAAttributes)
public class Attributes : NSObject

Predefined attributes.

  • Title attribute.

    Declaration

    Swift

    @objc
    public static let title: String
  • First name attribute.

    Declaration

    Swift

    @objc
    public static let firstName: String
  • Last name attribute.

    Declaration

    Swift

    @objc
    public static let lastName: String
  • Full name attribute.

    Declaration

    Swift

    @objc
    public static let fullName: String
  • Gender attribute.

    Declaration

    Swift

    @objc
    public static let gender: String
  • Zip code attribute.

    Declaration

    Swift

    @objc
    public static let zipCode: String
  • City attribute.

    Declaration

    Swift

    @objc
    public static let city: String
  • Region attribute.

    Declaration

    Swift

    @objc
    public static let region: String
  • Country attribute.

    Declaration

    Swift

    @objc
    public static let country: String
  • Birthdate attribute.

    Declaration

    Swift

    @objc
    public static let birthdate: String
  • age

    Age attribute.

    Declaration

    Swift

    @objc
    public static let age: String
  • Mobile phone attribute.

    Declaration

    Swift

    @objc
    public static let mobilePhone: String
  • Home phone attribute.

    Declaration

    Swift

    @objc
    public static let homePhone: String
  • Work phone attribute.

    Declaration

    Swift

    @objc
    public static let workPhone: String
  • Loyalty tier attribute.

    Declaration

    Swift

    @objc
    public static let loyaltyTier: String
  • Company attribute.

    Declaration

    Swift

    @objc
    public static let company: String
  • Username attribute.

    Declaration

    Swift

    @objc
    public static let username: String
  • Account creation attribute.

    Declaration

    Swift

    @objc
    public static let accountCreation: String
  • Email attribute.

    Declaration

    Swift

    @objc
    public static let email: String
  • Advertising id attribute.

    Declaration

    Swift

    @objc
    public static let advertisingId: String