public class DiscoveryResult extends Link
DiscoveryResult
found in a DiscoveryResultPage
.DiscoveryLink
,
PlaceLink
Modifier and Type | Class and Description |
---|---|
static class |
DiscoveryResult.ResultType
Represents values describing possible
DiscoveryResult types. |
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. |
DiscoveryResult.ResultType |
getResultType()
Gets the
ResultType for the DiscoveryResult . |
java.lang.String |
getTitle()
Gets the localized title for the resource to which the
Link refers. |
java.lang.String |
getVicinity()
Gets the
String description for the vicinity of the
Place . |
int |
hashCode() |
public DiscoveryResult.ResultType getResultType()
ResultType
for the DiscoveryResult
.ResultType
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
.
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 Link
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
.
public java.lang.String getVicinity()
String
description for the vicinity of the
Place
. Typically, this description is derived from the
Address
,
but could also contain any other description that helps a user
understand where the Place
is located.empty
)