HERE Android SDK Developer's Guide

DiscoveryLink

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

Class Summary

public class DiscoveryLink

extends com.here.android.mpa.search.DiscoveryResult, com.here.android.mpa.search.Link, java.lang.Object

Represents a discovery-related API link, used to retrieve a DiscoveryResultPage .

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in DiscoveryLink
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public String getIconUrl ()

Gets the URL to retrieve the icon for the resource to which the Link refers.

public String getId ()

Gets the unique identifier for the resource to which the Link refers.

public DiscoveryRequest getRequest ()

Gets the DiscoveryRequest to perform the next discovery search.

public String getTitle ()

Gets the localized title for the resource to which the Link refers.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents a discovery-related API link, used to retrieve a DiscoveryResultPage .

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public String getIconUrl ()

Gets the URL to retrieve the icon for the resource to which the Link refers.

Note: an icon URL for a linked object is optional, so a call to this method could return empty .

Returns:

The icon URL (could be empty)

public String getId ()

Gets the unique identifier for the resource to which the Link refers.

Note: an ID for a linked object is optional, so a call to this method could return empty .

Returns:

The ID (could be empty)

public DiscoveryRequest getRequest ()

Gets the DiscoveryRequest to perform the next discovery search.

Returns:

The DiscoveryRequest

public String getTitle ()

Gets the localized title for the resource to which the Link refers. Client devices can display this title within an application.

Note: a title for a linked object is optional, so a call to this method could return empty .

Returns:

The title (could be empty)

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.