HERE Android SDK Developer's Guide

ContactDetail

The class ContactDetail is a member of com.here.android.mpa.search .

Class Summary

public class ContactDetail

extends java.lang.Object

Represents detailed information about a contact for a Place.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in ContactDetail
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public String getLabel ()

Gets the localized label for the ContactDetail , describing the mechanism by which application users can contact the Place.

public String getType ()

Gets the type (email, fax, phone, website, etc.) for the ContactDetail .

public String getValue ()

Gets the value corresponding to an associated contact mechanism label for the ContactDetail .

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents detailed information about a contact for a Place.

For example, if a Place has among its known contacts the phone number 555-1234, use this class to access details about that particular contact's type ("phone") and value ("555-1234").

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public String getLabel ()

Gets the localized label for the ContactDetail , describing the mechanism by which application users can contact the Place. (e.g. by "Phone").

Returns:

The label

See also:

getValue()

public String getType ()

Gets the type (email, fax, phone, website, etc.) for the ContactDetail .

Returns:

The type

public String getValue ()

Gets the value corresponding to an associated contact mechanism label for the ContactDetail .

For example, if the mechanism for contacting a Place is "phone" then a call to this method might return "555-1234" as the corresponding value.

Returns:

The value

See also:

getLabel()

public int hashCode ()

For documentation, see java.lang.Object

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.