HERE Android SDK Developer's Guide

OnGestureListenerAdapter

The class OnGestureListenerAdapter is a member of com.here.android.mpa.streetlevel.StreetLevelGesture.OnGestureListener.

Class Summary

public static abstract class StreetLevelGesture.OnGestureListener.OnGestureListenerAdapter

   implements com.here.android.mpa.streetlevel.StreetLevelGesture.OnGestureListener

extends java.lang.Object

Default implementation for the OnGestureListener interface.

[For complete information, see the section Class Details]

See also:

StreetLevelGesture.OnGestureListener

Constructor Summary

Table 1. Constructors in OnGestureListenerAdapter
Constructors

OnGestureListenerAdapter ()

Method Summary

Table 2. Methods in OnGestureListenerAdapter
Methods

public boolean onCompassSelected ()

A callback indicating that the compass within the StreetLevelFragment has been selected.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onCompassSelected(void)

public boolean onDoubleTap (PointF p)

A callback indicating the detection of a double tap user gesture within the StreetLevelFragment.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onDoubleTap(PointF)

public boolean onObjectsSelected (java.util.List <StreetLevelSelectedObject> selectedObjects)

A callback indicating that one or more objects within the StreetLevelFragment has been selected.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onObjectsSelected(List)

public boolean onPinchZoom (float scaleFactor)

A callback indicating the detection of a pinch-to-zoom user gesture within the StreetLevelFragment.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onPinchZoom(float)

public boolean onRotate (PointF from, PointF to)

A callback indicating the detection of a rotation or tilt user gesture within the StreetLevelFragment.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onRotate(PointF, PointF)

public boolean onTap (PointF p)

A callback indicating the detection of a tap user gesture within the StreetLevelFragment.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onTap(PointF)

Class Details

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

See also:

StreetLevelGesture.OnGestureListener

Constructor Details

OnGestureListenerAdapter ()

Method Details

public boolean onCompassSelected ()

A callback indicating that the compass within the StreetLevelFragment has been selected.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onCompassSelected(void)

public boolean onDoubleTap (PointF p)

A callback indicating the detection of a double tap user gesture within the StreetLevelFragment.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onDoubleTap(PointF)

Parameters:

  • p

public boolean onObjectsSelected (java.util.List <StreetLevelSelectedObject> selectedObjects)

A callback indicating that one or more objects within the StreetLevelFragment has been selected.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onObjectsSelected(List)

Parameters:

  • selectedObjects

public boolean onPinchZoom (float scaleFactor)

A callback indicating the detection of a pinch-to-zoom user gesture within the StreetLevelFragment.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onPinchZoom(float)

Parameters:

  • scaleFactor

public boolean onRotate (PointF from, PointF to)

A callback indicating the detection of a rotation or tilt user gesture within the StreetLevelFragment.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onRotate(PointF, PointF)

Parameters:

  • from
  • to

public boolean onTap (PointF p)

A callback indicating the detection of a tap user gesture within the StreetLevelFragment.

This method overrides streetlevel.StreetLevelGesture.OnGestureListener.onTap(PointF)

Parameters:

  • p

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.