HERE Android SDK Developer's Guide

OnObjectTappedListener

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

Interface Summary

public static abstract interface ARController.OnObjectTappedListener

Listener for object tap events.

[For complete information, see the section Interface Details]

Method Summary

Table 1. Methods in OnObjectTappedListener
Methods

public abstract boolean onObjectTapped (java.util.List <ARObject> objects)

A callback indicating that at least one ARObject is located at the users tap point.

Interface Details

Listener for object tap events.

Method Details

public abstract boolean onObjectTapped (java.util.List <ARObject> objects)

A callback indicating that at least one ARObject is located at the users tap point.

If there are ARObject s located at the users tap point, this callback will be made before onTap(PointF). If true is returned from this callback, onTap(PointF) on the tap listener will not be called.

Parameters:

  • objects

    A list of selected ARObject objects

Returns:

true if consumed (which prevents calling of onTap(PointF)), false otherwise.