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:

  • location

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.