BDPTempoTrackingDelegate
Objective-C
@protocol BDPTempoTrackingDelegate <NSObject>
Swift
protocol BDPTempoTrackingDelegate : NSObjectProtocol
Defines the call-backs which Point SDK makes to inform the Application of Tempo events.
Assign your own implementation of this protocol to the BDLocationManager.tempoTrackingDelegate
property of the
shared BDLocationManager
instance, to handle Tempo related callbacks.
-
This method indicates that Tempo Tracking has expired
Declaration
Objective-C
- (void)tempoTrackingDidExpire;
Swift
optional func tempoTrackingDidExpire()
-
This method indicates that Tempo Tracking has been updated
Declaration
Objective-C
- (void)tempoTrackingDidUpdate:(TempoTrackingUpdate *)tempoUpdate;
Swift
optional func tempoTrackingDidUpdate(_ tempoUpdate: TempoTrackingUpdate!)
Parameters
tempoUpdate
The Tempo tracking update details, including ETA and
Destination
information -
This method is called if Tempo Tracking is stopped due to an error (for e.g. invalid destination Id)
Declaration
Objective-C
- (void)didStopTrackingWithError:(NSError *)error;
Swift
func didStopTrackingWithError(_ error: (any Error)!)
Parameters
error
Details from NSError objects delivered here are intended for development logging purposes and are not intended to be seen by your application’s users.