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