public String getInstantMessageId() returns the Instant
Messenger (IM) Id from the person's profile.
Attention: Introduced in SDK version 1.3.
Parameters
None
Returns
Returns a String representing the Instant Messenger (IM) Id from a person's profile. Returns null if not available.
Example
PersonService ps = session.getServiceRegistry().getPersonService(); Person p = ps.getPerson("joeuser"); Log.d(TAG, "IM Id: " + p.getInstantMessageId());
Would produce output such as the following:
IM Id: joe.user99987