HERE Android SDK Developer's Guide

OnEventListenerAdapter

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

Class Summary

public static abstract class StreetLevelModel.OnEventListener.OnEventListenerAdapter

   implements com.here.android.mpa.streetlevel.StreetLevelModel.OnEventListener

extends java.lang.Object

Default implementation for the OnEventListener interface.

[For complete information, see the section Class Details]

See also:

StreetLevelModel.OnEventListener

Constructor Summary

Table 1. Constructors in OnEventListenerAdapter
Constructors

OnEventListenerAdapter ()

Method Summary

Table 2. Methods in OnEventListenerAdapter
Methods

public void onBuildingHide (StreetLevelBuilding building)

A callback indicating a StreetLevelBuilding has been unloaded.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onBuildingHide(StreetLevelBuilding)

public void onBuildingShow (StreetLevelBuilding building)

A callback indicating a StreetLevelBuilding has been loaded.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onBuildingShow(StreetLevelBuilding)

public void onIconPlaced (StreetLevelSelectedObject pickedObject)

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

This method overrides streetlevel.StreetLevelModel.OnEventListener.onIconPlaced(StreetLevelSelectedObject)

public void onMoveContinue ()

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

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveContinue(void)

public void onMoveEnd (boolean completed)

A callback indicating that a StreetLevelModel move has ended.A callback indicating that a StreetLevelModel move has ended.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveEnd(boolean)

public void onMoveEnd (GeoCoordinate coordinate)

A callback indicating that a StreetLevelModel move has ended.A callback indicating that a StreetLevelModel move has ended.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveEnd(GeoCoordinate)

public void onMoveStart ()

A callback indicating that a StreetLevelModel move has started.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveStart(void)

public void onMoveWait ()

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

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveWait(void)

public void onOrientationEnd (float heading, float pitch)

A callback indicating that a StreetLevel orientation change has ended.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onOrientationEnd(float, float)

public void onOrientationStart (float heading, float pitch)

A callback indicating that a StreetLevel orientation change has started.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onOrientationStart(float, float)

public void onPositionChanged (GeoCoordinate coordinate)

A callback indicating that the StreetLevel position has changed.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onPositionChanged(GeoCoordinate)

public void onStreetLevelChanged ()

A callback indicating that StreetLevel data has changed.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onStreetLevelChanged(void)

public void onStreetLevelFullyLoaded ()

A callback indicating that StreetLevel data is fully loaded.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onStreetLevelFullyLoaded(void)

public void onStreetLevelInvalidated ()

A callback indicating that StreetLevel data has become invalid.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onStreetLevelInvalidated(void)

public void onStreetLevelPreviewAvailable ()

A callback indicating that StreetLevel preview image is available.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onStreetLevelPreviewAvailable(void)

public void onZoomEnd (float zoom)

A callback indicating that a StreetLevel zoom operation has ended.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onZoomEnd(float)

public void onZoomStart (float zoom)

A callback indicating that StreetLevel a zoom operation has started.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onZoomStart(float)

Class Details

Default implementation for the OnEventListener interface. Users may use this abstract class and overload specific methods to have a smaller code footprint.

See also:

StreetLevelModel.OnEventListener

Constructor Details

OnEventListenerAdapter ()

Method Details

public void onBuildingHide (StreetLevelBuilding building)

A callback indicating a StreetLevelBuilding has been unloaded.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onBuildingHide(StreetLevelBuilding)

Parameters:

  • building

public void onBuildingShow (StreetLevelBuilding building)

A callback indicating a StreetLevelBuilding has been loaded.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onBuildingShow(StreetLevelBuilding)

Parameters:

  • building

public void onIconPlaced (StreetLevelSelectedObject pickedObject)

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

This method overrides streetlevel.StreetLevelModel.OnEventListener.onIconPlaced(StreetLevelSelectedObject)

Parameters:

  • pickedObject

public void onMoveContinue ()

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

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveContinue(void)

public void onMoveEnd (boolean completed)

A callback indicating that a StreetLevelModel move has ended.A callback indicating that a StreetLevelModel move has ended.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveEnd(boolean)

Parameters:

  • completed

public void onMoveEnd (GeoCoordinate coordinate)

A callback indicating that a StreetLevelModel move has ended.A callback indicating that a StreetLevelModel move has ended.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveEnd(GeoCoordinate)

Parameters:

  • coordinate

public void onMoveStart ()

A callback indicating that a StreetLevelModel move has started.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveStart(void)

public void onMoveWait ()

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

This method overrides streetlevel.StreetLevelModel.OnEventListener.onMoveWait(void)

public void onOrientationEnd (float heading, float pitch)

A callback indicating that a StreetLevel orientation change has ended.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onOrientationEnd(float, float)

Parameters:

  • heading
  • pitch

public void onOrientationStart (float heading, float pitch)

A callback indicating that a StreetLevel orientation change has started.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onOrientationStart(float, float)

Parameters:

  • heading
  • pitch

public void onPositionChanged (GeoCoordinate coordinate)

A callback indicating that the StreetLevel position has changed.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onPositionChanged(GeoCoordinate)

Parameters:

  • coordinate

public void onStreetLevelChanged ()

A callback indicating that StreetLevel data has changed.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onStreetLevelChanged(void)

public void onStreetLevelFullyLoaded ()

A callback indicating that StreetLevel data is fully loaded.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onStreetLevelFullyLoaded(void)

public void onStreetLevelInvalidated ()

A callback indicating that StreetLevel data has become invalid.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onStreetLevelInvalidated(void)

public void onStreetLevelPreviewAvailable ()

A callback indicating that StreetLevel preview image is available.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onStreetLevelPreviewAvailable(void)

public void onZoomEnd (float zoom)

A callback indicating that a StreetLevel zoom operation has ended.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onZoomEnd(float)

Parameters:

  • zoom

public void onZoomStart (float zoom)

A callback indicating that StreetLevel a zoom operation has started.

This method overrides streetlevel.StreetLevelModel.OnEventListener.onZoomStart(float)

Parameters:

  • zoom