HERE Android SDK Developer's Guide

OnEventListener

The interface OnEventListener is a member of com.here.android.mpa.streetlevel.StreetLevelModel.

Interface Summary

public static abstract interface StreetLevelModel.OnEventListener

Represents a listener to provide notification upon completion of a StreetLevelModel event.

[For complete information, see the section Interface Details]

See also:

addStreetLevelModelListener(OnEventListener)

Nested Class Summary

Table 1. Nested Classes in OnEventListener
Nested Classes

public static abstract class StreetLevelModel.OnEventListener.OnEventListenerAdapter

Default implementation for the OnEventListener interface.

Method Summary

Table 2. Methods in OnEventListener
Methods

public abstract void onBuildingHide (StreetLevelBuilding building)

A callback indicating a StreetLevelBuilding has been unloaded.

public abstract void onBuildingShow (StreetLevelBuilding building)

A callback indicating a StreetLevelBuilding has been loaded.

public abstract void onIconPlaced (StreetLevelSelectedObject pickedObject)

A callback indicating that an icon is successfully placed on a StreetLevelSelectedObject

public abstract void onMoveContinue ()

A callback indicating that a StreetLevelModel move has continued after waiting for StreetLevel data availability.

public abstract void onMoveEnd (boolean completed)

A callback indicating that a StreetLevelModel move has ended.

public abstract void onMoveEnd (GeoCoordinate coordinate)

A callback indicating that a StreetLevelModel move has ended.

public abstract void onMoveStart ()

A callback indicating that a StreetLevelModel move has started.

public abstract void onMoveWait ()

A callback indicating that a StreetLevelModel move is waiting for StreetLevel data to be available before continuing.

public abstract void onOrientationEnd (float heading, float pitch)

A callback indicating that a StreetLevel orientation change has ended.

public abstract void onOrientationStart (float heading, float pitch)

A callback indicating that a StreetLevel orientation change has started.

public abstract void onPositionChanged (GeoCoordinate coordinate)

A callback indicating that the StreetLevel position has changed.

public abstract void onStreetLevelChanged ()

A callback indicating that StreetLevel data has changed.

public abstract void onStreetLevelFullyLoaded ()

A callback indicating that StreetLevel data is fully loaded.

public abstract void onStreetLevelInvalidated ()

A callback indicating that StreetLevel data has become invalid.

public abstract void onStreetLevelPreviewAvailable ()

A callback indicating that StreetLevel preview image is available.

public abstract void onZoomEnd (float zoom)

A callback indicating that a StreetLevel zoom operation has ended.

public abstract void onZoomStart (float zoom)

A callback indicating that StreetLevel a zoom operation has started.

Interface Details

Represents a listener to provide notification upon completion of a StreetLevelModel event.

See also:

addStreetLevelModelListener(OnEventListener)

Method Details

public abstract void onBuildingHide (StreetLevelBuilding building)

A callback indicating a StreetLevelBuilding has been unloaded.

Parameters:

public abstract void onBuildingShow (StreetLevelBuilding building)

A callback indicating a StreetLevelBuilding has been loaded.

Parameters:

public abstract void onIconPlaced (StreetLevelSelectedObject pickedObject)

A callback indicating that an icon is successfully placed on a StreetLevelSelectedObject

Parameters:

public abstract void onMoveContinue ()

A callback indicating that a StreetLevelModel move has continued after waiting for StreetLevel data availability.

public abstract void onMoveEnd (boolean completed)

A callback indicating that a StreetLevelModel move has ended.

Parameters:

  • completed

    A boolean specifying whether the move operation was successful

public abstract void onMoveEnd (GeoCoordinate coordinate)

A callback indicating that a StreetLevelModel move has ended.

Parameters:

  • coordinate

    Current position

public abstract void onMoveStart ()

A callback indicating that a StreetLevelModel move has started.

public abstract void onMoveWait ()

A callback indicating that a StreetLevelModel move is waiting for StreetLevel data to be available before continuing.

public abstract void onOrientationEnd (float heading, float pitch)

A callback indicating that a StreetLevel orientation change has ended.

Parameters:

  • heading

    A camera heading

  • pitch

    A camera pitch

public abstract void onOrientationStart (float heading, float pitch)

A callback indicating that a StreetLevel orientation change has started.

Parameters:

  • heading

    A camera heading

  • pitch

    A camera pitch

public abstract void onPositionChanged (GeoCoordinate coordinate)

A callback indicating that the StreetLevel position has changed.

Parameters:

  • coordinate

    An updated position

public abstract void onStreetLevelChanged ()

A callback indicating that StreetLevel data has changed.

public abstract void onStreetLevelFullyLoaded ()

A callback indicating that StreetLevel data is fully loaded.

public abstract void onStreetLevelInvalidated ()

A callback indicating that StreetLevel data has become invalid.

public abstract void onStreetLevelPreviewAvailable ()

A callback indicating that StreetLevel preview image is available.

public abstract void onZoomEnd (float zoom)

A callback indicating that a StreetLevel zoom operation has ended.

Parameters:

  • zoom

    A zoom level

public abstract void onZoomStart (float zoom)

A callback indicating that StreetLevel a zoom operation has started.

Parameters:

  • zoom

    A zoom level

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.