requestSingleUpdate abstract method

void requestSingleUpdate(
  1. LocationListener locationListener
)

Subscribe to a single location update. If the listener was already subscribed to location updates, the previous subscription will be removed.

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

locationListener Location update listener.

Implementation

void requestSingleUpdate(
    mapkit_location_location_listener.LocationListener locationListener);