publicfuncdidStartedTracking(_trackingId: String?){//This method is called when the operator initiates the trip by startTracking method.}publicfuncdidStoppedTracking(_trackingId: String?){//This method is called when tracking has stopped by calling the method stopTracking.}publicfuncdidRecieveUpdateOnTracking(_trackingId: String?, data: [String:Any]){//This method is called when there is a updates in the location.}publicfuncdidRecieveErrorOnTracing(_error: String?){//This method is called when there is error on tracking.}
-(void) didStartedTracking:(NSString *)trackingId{//This method is called when the operator initiates the trip by startTracking method.}-(void) didStoppedTracking:(NSString *)trackingId{//This method is called when tracking has stopped by calling the method stopTracking. }-(void) didRecieveUpdateOnTracking:(NSString *)trackingId data:(NSDictionary<NSString *,id>*)data{//This method is called when there is a updates in the location.}-(void) didRecieveErrorOnTracing:(NSString *)error{//This method is called when there is error on tracking.}
Note: withNavigationTitle here sets your page title on tracking page
Multiple Operator Tracking
What if you want to track multiple operators?
Note: Multiple Operator tracking allowed only on paid plans
Get Location updates
What if you want just the location updates of each operator?
Implement the delegate ‘TeliverTrackingDelegate’ on your view controller and you will get the following methods for usage.