addTapListener abstract method

void addTapListener(
  1. MapObjectTapListener tapListener
)

Adds a tap listener to the object.

The class does not retain the object in the 'tapListener' parameter. It is your responsibility to maintain a strong reference to the target object while it is attached to a class.

Implementation

void addTapListener(
    mapkit_map_map_object_tap_listener.MapObjectTapListener tapListener);