UALocationProviderDelegate Protocol Reference
Conforms to | NSObject |
Declared in | UALocationProviderDelegate.h |
Tasks
-
– locationProvider:withLocationManager:didChangeAuthorizationStatus:
required method -
– locationProvider:withLocationManager:didFailWithError:
required method -
– locationProvider:withLocationManager:didUpdateLocations:
required method
Instance Methods
locationProvider:withLocationManager:didChangeAuthorizationStatus:
Delegate call for authorization state changes iOS > 4.2 only.
- (void)locationProvider:(id<UALocationProviderProtocol>)locationProvider withLocationManager:(CLLocationManager *)locationManager didChangeAuthorizationStatus:(CLAuthorizationStatus)status
Parameters
- locationProvider
The location provider
- locationManager
The CLLocationManager object
- status
The new status
Declared In
UALocationProviderDelegate.h
locationProvider:withLocationManager:didFailWithError:
Delegate is called when a UALocationServices object reports an error.
- (void)locationProvider:(id<UALocationProviderProtocol>)locationProvider withLocationManager:(CLLocationManager *)locationManager didFailWithError:(NSError *)error
Parameters
- locationProvider
The location provider
- locationManager
The CLLocationManager object
- error
The NSError thrown by the locationManager
Declared In
UALocationProviderDelegate.h
locationProvider:withLocationManager:didUpdateLocations:
Delegate is called when a UALocationService gets a callback from a CLLocationManager with a location that meets accuracy requirements.
- (void)locationProvider:(id<UALocationProviderProtocol>)locationProvider withLocationManager:(CLLocationManager *)locationManager didUpdateLocations:(NSArray *)locations
Parameters
- locationProvider
The location provider
- locationManager
The CLLocationManager object
- locations
The locations array reported by the provider
Declared In
UALocationProviderDelegate.h