HERE Android SDK Developer's Guide

BaseLocation

The class BaseLocation is a member of com.here.android.mpa.venues3d .

Class Summary

public class BaseLocation

extends java.lang.Object

This class represents a location used in indoor routing.

[For complete information, see the section Class Details]

See also:

RoutingController

Nested Class Summary

Table 1. Nested Classes in BaseLocation
Nested Classes

public static final enumeration BaseLocation.LocationType

This enumeration defines identifiers for location types.

Constructor Summary

Table 2. Constructors in BaseLocation
Constructors

BaseLocation ()

BaseLocation (BaseLocationImpl impl)

Package Private Constructor

Field Summary

Table 3. Fields in BaseLocation
Fields

protected LocationType m_locationType

protected BaseLocation m_parkingLocation

protected BaseLocationImpl m_pimpl

Method Summary

Table 4. Methods in BaseLocation
Methods

public Area getArea ()

This method returns Area associated with a location.

public GeoCoordinate getGeoCoordinate ()

This method returns a GeoCoordinate associated with a location.

public LocationType getType ()

This method return BaseLocation.LocationType of this instance.

public boolean isValid ()

This method returns information if a given location is valid.

public void setParkingLocation (BaseLocation location)

This method sets parking location.

Class Details

This class represents a location used in indoor routing.

See also:

RoutingController

Constructor Details

BaseLocation ()

BaseLocation (BaseLocationImpl impl)

Package Private Constructor

Parameters:

  • impl

Field Details

protected LocationType m_locationType

protected BaseLocation m_parkingLocation

protected BaseLocationImpl m_pimpl

Method Details

public Area getArea ()

This method returns Area associated with a location. If a location relates to a Space, it returns a Space object. If a location relates to a OuterArea, it returns a OuterArea object. Otherwise this method returns null.

Returns:

An Area associated with a location

public GeoCoordinate getGeoCoordinate ()

This method returns a GeoCoordinate associated with a location.

Returns:

A GeoCoordinate associated with a location

public LocationType getType ()

This method return BaseLocation.LocationType of this instance.

Returns:

A location type.

public boolean isValid ()

This method returns information if a given location is valid.

Returns:

A boolean indicates if a location is valid

public void setParkingLocation (BaseLocation location)

This method sets parking location.

Parameters: