HERE Android SDK Developer's Guide

UserLink

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

Class Summary

public class UserLink

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

Represents a UserLink which contains additional attributes to describe a user.

[For complete information, see the section Class Details]

See also:

getUser()

getUser()

Method Summary

Table 1. Methods in UserLink
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public String getName ()

Gets the name of the user that provided the the Link .

public String getUrl ()

Gets the String representation of the URL to the user's profile

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents a UserLink which contains additional attributes to describe a user.

See also:

getUser()

getUser()

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public String getName ()

Gets the name of the user that provided the the Link .

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

Returns:

The icon URL (could be empty)

public String getUrl ()

Gets the String representation of the URL to the user's profile

Returns:

The URL

public int hashCode ()

For documentation, see java.lang.Object