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

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.