DefaultCLLocationProvider
public class DefaultCLLocationProvider : NSObject, ValidatingLocationProvider
extension DefaultCLLocationProvider: CLLocationManagerDelegate
                Implementation of LocationProvider that uses CLLocationManager as a GPS source provider.
Important
This is a Public Preview API. It may be changed or removed at any time.- 
                  
                  
DefaultCLLocationProvider init method.
Declaration
Swift
convenience public init( locationValidationPolicy: LocationUpdateValidator? = nil )Parameters
locationValidationPolicypolicy for validating incoming location updates, defined by
LocationUpdateValidatorprotocol. 
- 
                  
                  
Declaration
Swift
public var lastKnownLocation: GeoLocation? - 
                  
                  
Declaration
Swift
public var validationPolicy: LocationUpdateValidator - 
                  
                  
Declaration
Swift
public func enable() - 
                  
                  
Declaration
Swift
public func disable() - 
                  
                  
Declaration
Swift
public func addObserver(_ observer: LocationUpdateObserver) - 
                  
                  
Declaration
Swift
public func removeObserver(_ observer: LocationUpdateObserver) 
- 
                  
                  
Declaration
Swift
public func locationManager(_: CLLocationManager, didUpdateLocations locations: [CLLocation]) - 
                  
                  
Declaration
Swift
public func locationManager(_ manager: CLLocationManager, didUpdateHeading newHeading: CLHeading) - 
                  
                  
Declaration
Swift
public func locationManager(_: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus) 
        
 
          TomTom SDK for iOS (0.51.1)
        
          DefaultCLLocationProvider