HERE Android SDK Developer's Guide

AlternativeDeparture

The class AlternativeDeparture is a member of com.here.android.mpa.urbanmobility .

Class Summary

public final class AlternativeDeparture

extends java.lang.Object

Represents information about an alternative departure.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in AlternativeDeparture
Methods

public boolean equals (Object o)

public RealTimeInfo getRealTimeInfo ()

Gets the real-time departure time if available.

public Date getTime ()

Gets the originally scheduled departure time.

public Transport getTransport ()

Gets the transport information.

public int hashCode ()

Class Details

Represents information about an alternative departure.

IMPORTANT: Urban Mobility Departure Board is a Beta feature. The related classes are subject to change without notice.

Method Details

public boolean equals (Object o)

Parameters:

  • o

public RealTimeInfo getRealTimeInfo ()

Gets the real-time departure time if available.

Returns:

real-time departure time, or null when not available.

public Date getTime ()

Gets the originally scheduled departure time.

Returns:

Originally scheduled departure time, or null if not available.

public Transport getTransport ()

Gets the transport information.

Returns:

transport information, or null if not available

public int hashCode ()