public class DiscoveryLink extends DiscoveryResult
DiscoveryResultPage
.DiscoveryResult.ResultType
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIconUrl()
Gets the URL to retrieve the icon for the resource to which the
Link refers. |
java.lang.String |
getId()
Gets the unique identifier for the resource to which the
Link refers. |
DiscoveryRequest |
getRequest()
Gets the
DiscoveryRequest to perform the next discovery search. |
java.lang.String |
getTitle()
Gets the localized title for the resource to which the
Link refers. |
int |
hashCode() |
getResultType, getVicinity
public java.lang.String getTitle()
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
.
getTitle
in class DiscoveryResult
empty
)public java.lang.String getIconUrl()
Link
refers.
Note: an icon URL for a linked object is optional, so a call to this method could return
empty
.
getIconUrl
in class DiscoveryResult
empty
)public java.lang.String getId()
Link
refers.
Note: an ID for a linked object is optional, so a call to this method could return
empty
.
getId
in class DiscoveryResult
empty
)public DiscoveryRequest getRequest()
DiscoveryRequest
to perform the next discovery search.DiscoveryRequest
public int hashCode()
hashCode
in class DiscoveryResult
public boolean equals(java.lang.Object obj)
equals
in class DiscoveryResult