HERE Android SDK Developer's Guide

TrafficEventObject

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

Class Summary

public final class TrafficEventObject

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

Encapsulates information about a traffic event on a map.

[For complete information, see the section Class Details]

See also:

TrafficEvent

Method Summary

Table 1. Methods in TrafficEventObject
Methods

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate representing the position of the traffic event icon on the map.

public TrafficEvent getTrafficEvent ()

Gets the TrafficEvent associated with the TrafficEventObject .

Class Details

Encapsulates information about a traffic event on a map.

A TrafficEventObject represents a specialized MapProxyObject .User can retrieve an instance of this object by calling getSelectedObjects(PointF) or getSelectedObjects(ViewRect) with the location where a traffic event is located.

See also:

TrafficEvent

Method Details

public GeoCoordinate getCoordinate ()

Gets the GeoCoordinate representing the position of the traffic event icon on the map.

Returns:

The GeoCoordinate

public TrafficEvent getTrafficEvent ()

Gets the TrafficEvent associated with the TrafficEventObject . A TrafficEvent instance contains detailed information about a traffic event.

Returns:

The TrafficEvent.

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.