HERE Android SDK Developer's Guide

OnPanListener

The interface OnPanListener is a member of com.here.android.mpa.ar.ARController.

Interface Summary

public static abstract interface ARController.OnPanListener

Listener for pan events.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnPanListener
Methods

public abstract boolean onPan (PointF from, PointF to)

A callback indicating that a pan operation occurred.

Interface Details

Listener for pan events. Use of panTo(GeoCoordinate) API does not trigger this callback.

Method Details

public abstract boolean onPan (PointF from, PointF to)

A callback indicating that a pan operation occurred.

Parameters:

  • from

    A PointF representing the start point

  • to

    A PointF representing the end point

Returns:

If true, event is consumed, false otherwise. If true is returned, panning will no longer be performed by the controller.