HERE Android SDK Developer's Guide

NavigationPosition

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

Class Summary

public class NavigationPosition

extends java.lang.Object

Represents a position that should be used when calculating routes for navigation.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in NavigationPosition
Methods

public boolean equals (Object obj)

For documentation, see java.lang.Object

public String getAccessType ()

Returns the type of access as a String .

public GeoCoordinate getCoordinate ()

Returns the GeoCoordinate of the location This coordinate should be used as navigablePosition of a RouteWaypoint when calculating route.

public int hashCode ()

For documentation, see java.lang.Object

Class Details

Represents a position that should be used when calculating routes for navigation.

Method Details

public boolean equals (Object obj)

For documentation, see java.lang.Object

Parameters:

  • obj

public String getAccessType ()

Returns the type of access as a String . The access type 'road' is used for car routing. It is important to match the accessType with the type of routing you are performing. For example, use objects with an accessType of "road" for car routing.

See also:

https://developer.here.com/rest-apis/documentation/places/topics_api/object-link.html#access-point

public GeoCoordinate getCoordinate ()

Returns the GeoCoordinate of the location This coordinate should be used as navigablePosition of a RouteWaypoint when calculating route.

public int hashCode ()

For documentation, see java.lang.Object