HERE Android SDK Developer's Guide

LocationDataSourceHERE

The class LocationDataSourceHERE is a member of com.here.android.mpa.common .

Class Summary

public abstract class LocationDataSourceHERE

extends com.here.android.mpa.common.LocationDataSource, java.lang.Object

Abstract class that defines the interface for providing positions updates from a HERE hybrid location data source.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in LocationDataSourceHERE
Nested Classes

public static final enumeration LocationDataSourceHERE.IndoorPositioningMode

Defines supported indoor positioning modes.

public static final enumeration LocationDataSourceHERE.IndoorPositioningModeSetResult

Defines result codes for indoor positioning mode set call.

Constructor Summary

Table 2. Constructors in LocationDataSourceHERE
Constructors

LocationDataSourceHERE ()

Method Summary

Table 3. Methods in LocationDataSourceHERE
Methods

public abstract IndoorPositioningMode getIndoorPositioningMode ()

Get active indoor positioning mode.

public static LocationDataSourceHERE getInstance ()

Get access to the LocationDataSourceHERE Singleton.

public static LocationDataSourceHERE getInstance (StatusListener statusListener)

Get access to the LocationDataSourceHERE Singleton.

public abstract IndoorPositioningModeSetResult setIndoorPositioningMode (IndoorPositioningMode mode)

Set indoor positioning mode.

Class Details

Abstract class that defines the interface for providing positions updates from a HERE hybrid location data source. Instance of this class can be created with getInstance(StatusListener) call.

Constructor Details

LocationDataSourceHERE ()

Method Details

public abstract IndoorPositioningMode getIndoorPositioningMode ()

Get active indoor positioning mode.

Returns:

Current indoor positioning mode.

See also:

{@link LocationDataSourceHERE.IndoorPositioningMode}

public static LocationDataSourceHERE getInstance ()

Get access to the LocationDataSourceHERE Singleton. MapsEngine has to be successfully initialized before the call.

Returns:

LocationDataSourceHERE instance

public static LocationDataSourceHERE getInstance (StatusListener statusListener)

Get access to the LocationDataSourceHERE Singleton. MapsEngine has to be successfully initialized before the call.

Parameters:

  • statusListener

    Status listener instance for retrieving HERE positioning related events.

Returns:

LocationDataSourceHERE instance

public abstract IndoorPositioningModeSetResult setIndoorPositioningMode (IndoorPositioningMode mode)

Set indoor positioning mode. Mode defines which radio maps HERE positioning is allowed to use.

Parameters:

  • mode

    New indoor positioning mode.

Returns:

Result for the mode change.

See also:

{@link LocationDataSourceHERE.IndoorPositioningMode}

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.