HERE Android SDK Developer's Guide

TransitRouteStop

The class TransitRouteStop is a member of com.here.android.mpa.routing .

Class Summary

public final class TransitRouteStop

extends java.lang.Object

This is a public transit stop within a calculated transit Route.

[For complete information, see the section Class Details]

See also:

TransitManeuver

Nested Class Summary

Table 1. Nested Classes in TransitRouteStop
Nested Classes

public static final enumeration TransitRouteStop.Attribute

Represents values describing different attributes for a TransitRouteStop.

Method Summary

Table 2. Methods in TransitRouteStop
Methods

public java.util.EnumSet <Attribute> getAttributes ()

Gets the TransitRouteStop.Attribute values for the TransitRouteStop .

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate of the TransitRouteStop .

public GeoCoordinate getEgressCoordinate ()

Gets the GeoCoordinate representing the coordinates of the entry/exit for the TransitRouteStop .

public Identifier getId ()

Gets the Identifier of the TransitRouteStop .

public String getName ()

Gets the name for the TransitRouteStop .

public GeoCoordinate getPlatformCoordinate ()

Gets the GeoCoordinate representing the coordinates of the platform for the TransitRouteStop .

public int getPlatformLevel ()

Gets the platform level for the TransitRouteStop , where 0 represents the ground level, -1 the first underground level, 1 the first elevated level, and so on.

Class Details

This is a public transit stop within a calculated transit Route.

See also:

TransitManeuver

Method Details

public java.util.EnumSet <Attribute> getAttributes ()

Gets the TransitRouteStop.Attribute values for the TransitRouteStop .

Returns:

The set of TransitRouteStop.Attribute values

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate of the TransitRouteStop .

Returns:

The GeoCoordinate

public GeoCoordinate getEgressCoordinate ()

Gets the GeoCoordinate representing the coordinates of the entry/exit for the TransitRouteStop .

Note: this method might return the same coordinates as the platform coordinates whenever:

  • the stop is part of a platform-to-platform change
  • there is no differentiation between platform and entrance (e.g. typical public bus stops along a street)

Returns:

The GeoCoordinate

See also:

getPlatformCoordinate()

public Identifier getId ()

Gets the Identifier of the TransitRouteStop . Identifier is not supported for public transport timetable route stops

Returns:

The Identifier

public String getName ()

Gets the name for the TransitRouteStop .

Returns:

name

public GeoCoordinate getPlatformCoordinate ()

Gets the GeoCoordinate representing the coordinates of the platform for the TransitRouteStop .

Returns:

The GeoCoordinate

See also:

getEgressCoordinate()

public int getPlatformLevel ()

Gets the platform level for the TransitRouteStop , where 0 represents the ground level, -1 the first underground level, 1 the first elevated level, and so on.

Returns:

The platform level