unsubscribe abstract method

void unsubscribe(
  1. LocationListener locationListener
)

Unsubscribe from location update events. Can be called for either LocationManager.subscribeForLocationUpdates or LocationManager.requestSingleUpdate. For LocationManager.requestSingleUpdate, if an event was already received, LocationManager.unsubscribe does not have any effect. If the listener is already unsubscribed, the method call is ignored.

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 Listener passed to either LocationManager.subscribeForLocationUpdates or LocationManager.requestSingleUpdate.

Implementation

void unsubscribe(
    mapkit_location_location_listener.LocationListener locationListener);