LocationServiceImpl
class LocationServiceImpl : NSObject, LocationService
Location service
-
Location manager
Declaration
Swift
private let locationManager: CLLocationManager -
Location
Declaration
Swift
private(set) var location: CLLocation? -
Undocumented
Declaration
Swift
override init() -
Declaration
Swift
func ensureLocation(from: UIViewController)
-
Show location permission prompt
Declaration
Swift
private func showLocationPermission(from: UIViewController) -
Show Enable location prompt
Declaration
Swift
private func showEnabledLocation(from: UIViewController) -
Show go to location settings prompt
Declaration
Swift
private func gotoLocationSettings()
-
Undocumented
Declaration
Swift
func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) -
Undocumented
Declaration
Swift
func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) -
Undocumented
Declaration
Swift
func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus)
LocationServiceImpl Class Reference