HERE Android SDK Developer's Guide

Position

The class Position is a member of com.here.android.mpa.electronic_horizon .

Class Summary

public final class Position

extends java.lang.Object

Represents a link for electronic horizon.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in Position
Methods

public int getOffsetCentimeters ()

public PathTree getPathTree ()

public double getSpeedMetersPerSecond ()

public Date getTimestamp ()

Class Details

Represents a link for electronic horizon.

Method Details

public int getOffsetCentimeters ()

Returns:

The identifier of the link.

public PathTree getPathTree ()

Returns:

The distance from beginning of path to end of link in centimeters.

public double getSpeedMetersPerSecond ()

Returns:

The direction of movement.

public Date getTimestamp ()

Returns:

The distance in centimeters from the logical beginning of the path.