PassiveLocationDataSourceDelegate
public protocol PassiveLocationDataSourceDelegate : AnyObject
A delegate of a PassiveLocationDataSource
object implements methods that the location data source calls as the user’s location changes.
-
Seealso
CLLocationManagerDelegate.locationManagerDidChangeAuthorization(_:)
Declaration
Swift
@available(iOS 14.0, *) func passiveLocationDataSourceDidChangeAuthorization(_ dataSource: PassiveLocationDataSource)
-
Seealso
CLLocationManagerDelegate.locationManager(_:didUpdateLocations:)
Declaration
Swift
func passiveLocationDataSource(_ dataSource: PassiveLocationDataSource, didUpdateLocation location: CLLocation, rawLocation: CLLocation)
-
Seealso
CLLocationManagerDelegate.locationManager(_:didUpdateHeading:)
Declaration
Swift
func passiveLocationDataSource(_ dataSource: PassiveLocationDataSource, didUpdateHeading newHeading: CLHeading)
-
Seealso
CLLocationManagerDelegate.locationManager(_:didFailWithError:)
Declaration
Swift
func passiveLocationDataSource(_ dataSource: PassiveLocationDataSource, didFailWithError error: Error)