LocationStatusDelegate Protocol Reference
Conforms to | NSObject |
Declared in | BearingCore.h |
Tasks
-
– locationChangedToCurrentLocation:andTargetLocation:andTargetAzimuth:andDistance:
This function is called when the current location has changed.
required method
Instance Methods
locationChangedToCurrentLocation:andTargetLocation:andTargetAzimuth:andDistance:
This function is called when the current location has changed.
- (void)locationChangedToCurrentLocation:(CLLocation *)currentLocation andTargetLocation:(CLLocation *)targetLocation andTargetAzimuth:(CLLocationDirection)targetAzimuth andDistance:(CLLocationDistance)distance
Parameters
- currentLocation
Current GPS location.
- targetLocation
Target GPS location.
- targetAzimuth
Azimuth to the target towards north in degrees. (0 = target is in northern direction, 90 = target is in eastern direction, …)
- distance
Distance to the target in metres.
Declared In
BearingCore.h