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