public class ContactPhoneUtil
extends java.lang.Object
Constructor and Description |
---|
ContactPhoneUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getContactAdditionalPhones(Contact contact,
OperationSetServerStoredContactInfo.DetailsResponseListener listener,
boolean onlyVideo,
boolean localized)
Searches for phones for the contact.
|
protected static java.lang.String |
getLocalizedPhoneNumber(ServerStoredDetails.GenericDetail d)
Returns localized phone number.
|
public static java.util.List<java.lang.String> getContactAdditionalPhones(Contact contact, OperationSetServerStoredContactInfo.DetailsResponseListener listener, boolean onlyVideo, boolean localized)
contact
- the contact to check.listener
- the DetailsResponseListener if we're interested
in obtaining results that came lateronlyVideo
- whether to include only video phones.localized
- whether to localize phones.protected static java.lang.String getLocalizedPhoneNumber(ServerStoredDetails.GenericDetail d)
d
- the detail.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.