You are here

getLocation

public String getLocation() returns the location of the person.
Attention: Introduced in SDK version 1.3.

Parameters

None

Returns

Returns a String representing the person's location. Returns null if not available.

Example


    PersonService ps = session.getServiceRegistry().getPersonService();
    
    Person p = ps.getPerson("joeuser");
    
    Log.d(TAG, "location: " + p.getLocation());

      

Would produce output such as the following:


location: Maidenhead