You are here

getAddress1

public String getAddress1() returns the first line of the address from the Company section of a person's profile.
Attention: Introduced in SDK version 1.3.

Parameters

None

Returns

Returns a String representing the first line of the company's address. Returns null if not available.

Example


    PersonService ps = session.getServiceRegistry().getPersonService();
    
    Person p = ps.getPerson("joeuser");
    
    Company c = p.getCompany()
    
    Log.d(TAG, "Address1: " + c.getAddress1());

      

Would produce output such as the following:


Address1: The Place