HERE Android SDK Developer's Guide

OnPositionChangedListener

The interface OnPositionChangedListener is a member of com.here.android.mpa.common.PositioningManager.

Interface Summary

public static abstract interface PositioningManager.OnPositionChangedListener

Represents an interface for position update listeners.

[For complete information, see the section Interface Details]

See also:

addListener(WeakReference<OnPositionChangedListener>)

removeListener(OnPositionChangedListener)

Method Summary

Table 1. Methods in OnPositionChangedListener
Methods

public abstract void onPositionFixChanged (LocationMethod method, LocationStatus status)

A callback indicating that the position fix has changed.

public abstract void onPositionUpdated (LocationMethod method, GeoPosition position, boolean isMapMatched)

A callback indicating that the position has been updated.

Interface Details

Represents an interface for position update listeners.

See also:

addListener(WeakReference<OnPositionChangedListener>)

removeListener(OnPositionChangedListener)

Method Details

public abstract void onPositionFixChanged (LocationMethod method, LocationStatus status)

A callback indicating that the position fix has changed.

Parameters:

  • method

    A LocationMethod providing the status update (GPS or Network)

  • status

    A LocationStatus representing the updated positioning status

public abstract void onPositionUpdated (LocationMethod method, GeoPosition position, boolean isMapMatched)

A callback indicating that the position has been updated.

Parameters:

  • method

    A LocationMethod providing the position update (GPS or Network)

  • position

    A GeoPosition representing the updated position. The position can return null if the MapsEngine has not been initialized.

  • isMapMatched

    A boolean stating if the position is map matched or not. Map matching approximates user coordinates to the nearest road or navigation route If the value is false then it means an unmatched(raw) position is received. This SDK always returns false.

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.