HERE Android SDK Developer's Guide

Operator

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

Class Summary

public final class Operator

extends java.lang.Object

Represents a public transport operator.

[For complete information, see the section Class Details]

Method Summary

Table 1. Methods in Operator
Methods

public boolean equals (Object o)

public String getEmail ()

Gets the operator email address.

public String getId ()

Gets the operator identifier/code.

public java.util.Collection <Link> getLinks ()

Gets Link s to operator related resources e.g.

public String getName ()

Gets the name of the operator.

public String getPhone ()

Gets the operator contact phone number.

public CoverageType getType ()

Gets the coverage type of the operator.

public int hashCode ()

Class Details

Represents a public transport operator.

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

Method Details

public boolean equals (Object o)

Parameters:

  • o

public String getEmail ()

Gets the operator email address.

Returns:

The operator email address, or empty string if not available.

public String getId ()

Gets the operator identifier/code.

Returns:

operator identifier/code.

Gets Link s to operator related resources e.g. agency logo link.

Returns:

Collection of operator related resources Links.

public String getName ()

Gets the name of the operator.

Returns:

The operator name.

public String getPhone ()

Gets the operator contact phone number.

Returns:

The operator contact phone number, or empty string if not available.

public CoverageType getType ()

Gets the coverage type of the operator.

Returns:

The operator CoverageType.

public int hashCode ()