setPhoneNumber

fun setPhoneNumber(phoneNumber: String?): Boolean

Sets the phone number of the user. Used to collect information about the user. Provided phone numbers must pass phone number validation. The validation methods used is available in ValidationUtils.isValidPhoneNumber

Return

a boolean indicating whether or not the phone number passed basic validation

Parameters

phoneNumber

The phone number of the user. A null value will unset the phone number for this user.