deportUserLoginValues

This method sends user-specific values to Hurree.

We recommend that you call this method before the sendLoginDetails method.

Method Signature

void deportUserLoginValues(String firstName, String lastName, String phoneNumber, String email, String userImageURL, String gender, String dateOfBirth)

To add the method

  1. Open your project.
  2. Open app > src > main > java > package name > MyGCMRegistrationService.
  3. Add the method code: Method Code

Arguments

These are the arguments that define the method.

Name Type Mandatory Description
firstName String Mandatory This is the user's First Name.
lastName String Mandatory This is the user's Last Name.
phoneNumber String Mandatory This is the user's Phone Number.
email String Mandatory This is the user's Email Address.
userImageURL String Mandatory This is the Url of the User's Picture.
gender String Mandatory This is the user's Gender. The options are: Male or Female.
dateOfBirth String Mandatory This it the user's Date of Birth. The preferred format is dd/MM/yyyy.

Sample Code

Analytics.getInstance(this).deportUserLoginValues(
        FIRST_NAME,
        LAST_NAME,
        PHONE_NUMBER,
        EMAIL_ID,
        IMAGE_URL,
        GENDER,
        DOB
);

results matching ""

    No results matching ""