We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.

HMS Core ReferencesIdentity Kitidentity.entityUserAddress

UserAddress

public final class UserAddress

Returns data about the selected user address.

Public Method Summary

Public Methods

public static UserAddress parseIntent(Intent data)

Parses user address data from Intent. This method is called in onActivityResult of Activity.
After a user selects an address, the selected address is carried in the Intent object and returned through the onActivityResult method. You can use the parseIntent method to parse the selected address from the Intent object.

Parameters
Parameter nameParameter desc
dataIntent object that contains user address data.


public final String getAddressLine1()

Obtains the address in the first line.

Return
Typedesc
StringAddress in the first line.


public final String getAddressLine2()

Obtains the address in the second line.

Return
typedesc
StringAddress in the second line.


public final String getAddressLine3()

Obtains the address in the third line.

Return
Typedesc
StringAddress in the third line.


public final String getAddressLine4()

Obtains the address in the fourth line.

Return
Typedesc
StringAddress in the fourth line.


public final String getAddressLine5()

Obtains the address in the fifth line.

Return
typedesc
StringAddress in the fifth line.


public final String getAdministrativeArea()

Obtains the administrative area name.

Return
typedesc
StringAdministrative area name.


public final String getCompanyName()

Obtains the company name.

Return
typedesc
StringCompany name.


public final String getCountryCode()

Obtains the country name.

Return
typedesc
StringCountry name.


public final String getEmailAddress()

Obtains the email address.

Return
typedesc
StringEmail address.


public final String getLocality()

Obtains the city or country information.

Return
typedesc
StringCity name.


public final String getName()

Obtains the name.

Return
typedesc
StringName.


public final String getPhoneNumber()

Obtains the mobile number.

Return
typedesc
StringMobile number.


public final String getPostalNumber()

Obtains the postal code.

Return
typedesc
StringPostal code.
This page may contain third-party content. For details, click here.
Search in References
Enter a keyword.