Conforms to NSObject
Declared in PSKSensorDelegate.h

Overview

@protocol PSKSensorDelegate

Tasks

Instance Methods

didChangeAuthorizationStatus:

called when authorization status changed (location services enabled/disabled, etc.)

- (void)didChangeAuthorizationStatus:(CLAuthorizationStatus)status

Parameters

status

the new authorization status

Discussion

called when authorization status changed (location services enabled/disabled, etc.)

Declared In

PSKSensorDelegate.h

didChangeDeviceOrientation:

called when the device orientation changed

- (void)didChangeDeviceOrientation:(UIDeviceOrientation)orientation

Parameters

orientation

the new device orientation

Discussion

called when the device orientation changed

Declared In

PSKSensorDelegate.h

didChangeSensorUpdateMode:fromMode:motionIncludesHeading:

called when status of PSKSensorManager.sensorUpdateMode changed

- (void)didChangeSensorUpdateMode:(PSKSensorManagerUpdateMode)newUpdateMode fromMode:(PSKSensorManagerUpdateMode)oldUpdateMode motionIncludesHeading:(BOOL)includeHeading

Parameters

newUpdateMode

the new PSKSensorManagerUpdateMode

oldUpdateMode

the old PSKSensorManagerUpdateMode

Discussion

called when status of PSKSensorManager.sensorUpdateMode changed

Declared In

PSKSensorDelegate.h

didChangeSignalQuality:

called when the signal quality changed

- (void)didChangeSignalQuality:(PSKSignalQuality)newSignalQuality

Parameters

newSignalQuality

new signal quality

Discussion

called when the signal quality changed

Declared In

PSKSensorDelegate.h

didChangeStatus:

called when statis of PSKSensorManager changed @remarks use this to update UI

- (void)didChangeStatus:(PSKSensorManagerStatus)newStatus

Parameters

newStatus

the new PSKSensorManagerStatus

Discussion

called when statis of PSKSensorManager changed @remarks use this to update UI

Declared In

PSKSensorDelegate.h

didReceiveErrorCode:

called when an error was encountered

- (void)didReceiveErrorCode:(int)code

Parameters

code

the error code

Discussion

called when an error was encountered

Declared In

PSKSensorDelegate.h

didUpdateHeading:

called when a heading update was made

- (void)didUpdateHeading:(CLHeading *)newHeading

Discussion

called when a heading update was made

Declared In

PSKSensorDelegate.h

didUpdateLocation:

called when a location update was made

- (void)didUpdateLocation:(CLLocation *)newLocation

Discussion

called when a location update was made

Declared In

PSKSensorDelegate.h