Package com.mparticle

Interface MParticle.UserAttributes

  • Enclosing class:
    MParticle

    public static interface MParticle.UserAttributes
    This interface defines a series of constants that can be used to specify certain characteristics of a user. There are many 3rd party services that support, for example, specifying a gender of a user. The mParticle platform will look for these constants within the user attributes that you have set for a given user, and forward any attributes to the services that support them.
    See Also:
    MParticleUser
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ADDRESS
      A special attribute string to specify the user's street address and apartment number.
      static java.lang.String AGE
      A special attribute string to specify the user's age.
      static java.lang.String CITY
      A special attribute string to specify the user's city.
      static java.lang.String COUNTRY
      A special attribute string to specify the user's country.
      static java.lang.String FIRSTNAME
      A special attribute string to specify the user's first name.
      static java.lang.String GENDER
      A special attribute string to specify the user's gender.
      static java.lang.String LASTNAME
      A special attribute string to specify the user's last name.
      static java.lang.String MOBILE_NUMBER
      A special attribute string to specify the mobile number of the consumer's device.
      static java.lang.String STATE
      A special attribute string to specify the user's state or region.
      static java.lang.String ZIPCODE
      A special attribute string to specify the user's zip code.
    • Field Detail

      • MOBILE_NUMBER

        @NonNull
        static final java.lang.String MOBILE_NUMBER
        A special attribute string to specify the mobile number of the consumer's device.
        See Also:
        Constant Field Values
      • GENDER

        @NonNull
        static final java.lang.String GENDER
        A special attribute string to specify the user's gender.
        See Also:
        Constant Field Values
      • AGE

        @NonNull
        static final java.lang.String AGE
        A special attribute string to specify the user's age.
        See Also:
        Constant Field Values
      • COUNTRY

        @NonNull
        static final java.lang.String COUNTRY
        A special attribute string to specify the user's country.
        See Also:
        Constant Field Values
      • ZIPCODE

        @NonNull
        static final java.lang.String ZIPCODE
        A special attribute string to specify the user's zip code.
        See Also:
        Constant Field Values
      • CITY

        @NonNull
        static final java.lang.String CITY
        A special attribute string to specify the user's city.
        See Also:
        Constant Field Values
      • STATE

        @NonNull
        static final java.lang.String STATE
        A special attribute string to specify the user's state or region.
        See Also:
        Constant Field Values
      • ADDRESS

        @NonNull
        static final java.lang.String ADDRESS
        A special attribute string to specify the user's street address and apartment number.
        See Also:
        Constant Field Values
      • FIRSTNAME

        @NonNull
        static final java.lang.String FIRSTNAME
        A special attribute string to specify the user's first name.
        See Also:
        Constant Field Values
      • LASTNAME

        @NonNull
        static final java.lang.String LASTNAME
        A special attribute string to specify the user's last name.
        See Also:
        Constant Field Values