subscribeForLocationUpdates abstract method

void subscribeForLocationUpdates(
  1. LocationSubscriptionSettings subscriptionSettings,
  2. LocationListener locationListener
)

Subscribe for location update events. If the listener was already subscribed to updates from the LocationManager, subscription settings will be updated.

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.

subscriptionSettings Subscription settings. locationListener Location update listener.

Implementation

void subscribeForLocationUpdates(
    LocationSubscriptionSettings subscriptionSettings,
    mapkit_location_location_listener.LocationListener locationListener);