MPPositionProviderDelegate
@protocol MPPositionProviderDelegate <NSObject>
Protocol specifying how an indoor positioning provider delegate should be implemented as the receiver of user positions.
-
Position update method. Will return a position result.
Declaration
Objective-C
- (void)onPositionUpdate:(MPPositionResult *)positionResult;
Swift
func onPositionUpdate(_ positionResult: MPPositionResult!)
Parameters
positionResult
The position result as estimated or calculated by a MPPositionProvider
-
Positioning fail method. Will return the reference to the actual provider
Declaration
Objective-C
- (void)onPositionFailed:(id)provider;
Swift
func onPositionFailed(_ provider: Any!)
Parameters
provider
A provider that failed determining user position