SKPositionerServiceDelegate Protocol Reference

Conforms to NSObject
Declared in SKPositionerServiceDelegate.h

Overview

SKPositionerServiceDelegate is used for receiving different GPS location updates.

– positionerService:updatedCurrentLocation:

Called when the GPS location is changed.

- (void)positionerService:(SKPositionerService *)positionerService updatedCurrentLocation:(CLLocation *)currentLocation

Parameters

positionerService

The positioner service.

currentLocation

The new GPS location.

Discussion

Called when the GPS location is changed.

Declared In

SKPositionerServiceDelegate.h

– positionerService:updatedCurrentHeading:

Called when the GPS heading is changed.

- (void)positionerService:(SKPositionerService *)positionerService updatedCurrentHeading:(CLHeading *)currentHeading

Parameters

positionerService

The positioner service.

currentHeading

The new GPS heading.

Discussion

Called when the GPS heading is changed.

Declared In

SKPositionerServiceDelegate.h

– positionerService:changedGPSAccuracyToLevel:

Called when the GPS accuracy is changed.

- (void)positionerService:(SKPositionerService *)positionerService changedGPSAccuracyToLevel:(SKGPSAccuracyLevel)level

Parameters

positionerService

The positioner service.

level

The type of the GPS accuracy.

Discussion

Called when the GPS accuracy is changed.

Declared In

SKPositionerServiceDelegate.h

– positionerService:didFailWithError:

Called when an error has occurred.

- (void)positionerService:(SKPositionerService *)positionerService didFailWithError:(NSError *)error

Parameters

positionerService

The positioner service.

error

The error that occured.

Discussion

Called when an error has occurred.

Declared In

SKPositionerServiceDelegate.h

– positionerService:didChangeAuthorizationStatus:

Called when the authorization status changes for the client application.

- (void)positionerService:(SKPositionerService *)positionerService didChangeAuthorizationStatus:(CLAuthorizationStatus)status

Parameters

positionerService

The positioner service.

status

The new authorization status.

Discussion

Called when the authorization status changes for the client application.

Declared In

SKPositionerServiceDelegate.h

– positionerService:didRetrieveElevation:atCoordinate:

Called when the elevation for a coordinate is ready.

- (void)positionerService:(SKPositionerService *)positionerService didRetrieveElevation:(float)elevation atCoordinate:(CLLocationCoordinate2D)coordinate

Parameters

positionerService

The positioner service.

elevation

The elevation value.

coordinate

The coordinate where the elevation has been retrieved.

Discussion

Called when the elevation for a coordinate is ready.

Declared In

SKPositionerServiceDelegate.h

– positionerService:didFailToRetrieveElevationAtCoordinate:

Called when the elevation for a coordinate is ready.

- (void)positionerService:(SKPositionerService *)positionerService didFailToRetrieveElevationAtCoordinate:(CLLocationCoordinate2D)coordinate

Parameters

positionerService

The positioner service.

coordinate

The coordinate where the elevation has been retrieved.

Discussion

Called when the elevation for a coordinate is ready.

Declared In

SKPositionerServiceDelegate.h