HERE Android SDK Developer's Guide

TransitAccessObject

The class TransitAccessObject is a member of com.here.android.mpa.mapping .

Class Summary

public final class TransitAccessObject

extends com.here.android.mpa.mapping.MapProxyObject, com.here.android.mpa.common.ViewObject, java.lang.Object

Encapsulates information about a public transit access point on a map.

[For complete information, see the section Class Details]

See also:

getSelectedObjects(PointF)

getSelectedObjectsNearby(PointF)

getSelectedObjects(ViewRect)

Method Summary

Table 1. Methods in TransitAccessObject
Methods

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate representing the position of the transit access icon on the map.

public java.util.List <Image> getIcons ()

Get the list of icons associated with the TransitAccessObject .

public TransitAccessInfo getTransitAccessInfo ()

Gets the TransitAccessInfo associated with the TransitAccessObject .

Class Details

Encapsulates information about a public transit access point on a map.

A TransitAccessObject represents a specialized MapProxyObject. Users can retrieve an instance of this object with a call to either getSelectedObjects(PointF) or getSelectedObjectsNearby(PointF) or getSelectedObjects(ViewRect) at the point or area where a public transit access point exists.

See also:

getSelectedObjects(PointF)

getSelectedObjectsNearby(PointF)

getSelectedObjects(ViewRect)

Method Details

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate representing the position of the transit access icon on the map.

Returns:

The GeoCoordinate where the transit access object is located.

public java.util.List <Image> getIcons ()

Get the list of icons associated with the TransitAccessObject .

Returns:

List of icon Images.

public TransitAccessInfo getTransitAccessInfo ()

Gets the TransitAccessInfo associated with the TransitAccessObject . A TransitAccessInfo instance contains information about the types of transit that can be accessed at a particular transit access point, as well as the Identifier of any transit stop that is associated with the access point.

Returns:

The TransitAccessInfo

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.