PositionContextDelegate
Objective-C
@protocol PositionContextDelegate <NSObject>
Swift
protocol PositionContextDelegate : NSObjectProtocol
A set of delegate methods for position context objects.
-
Notifies the delegate when a new position is available.
Declaration
Objective-C
- (void)positionContext:(nonnull PositionContext *)positionContext didUpdatePosition:(nonnull PositionObject *)position;
Swift
func positionContext(_ positionContext: PositionContext, didUpdatePosition position: PositionObject)
Parameters
positionContext
The position context informing the delegate of this event.
position
The new position.