#import "MAConfig.h"
#import <Foundation/Foundation.h>
#import <AMapFoundationKit/AMapFoundationKit.h>
#import "MATraceLocation.h"
Go to the source code of this file.
◆ MAFailedCallback
| typedef void(^ MAFailedCallback) (int errorCode, NSString *errorDesc) |
◆ MAFinishCallback
| typedef void(^ MAFinishCallback) (NSArray< MATracePoint * > *points, double distance) |
成功回调,distance:距离,单位米 Success callback, distance: distance, unit meters
◆ MAProcessingCallback
| typedef void(^ MAProcessingCallback) (int index, NSArray< MATracePoint * > *points) |
处理中回调, index: 批次编号,0 based Processing callback, index: batch number, 0 based
◆ MATraceLocationCallback
| typedef void(^ MATraceLocationCallback) (NSArray< CLLocation * > *locations, NSArray< MATracePoint * > *tracePoints, double distance, NSError *error) |
定位回调, locations: 原始定位点; tracePoints: 纠偏后的点,如果纠偏失败返回nil; distance:距离; error: 纠偏失败时的错误信息 Location callback, locations: raw location points; tracePoints: corrected points, returns nil if correction fails; distance: distance; error: error message when correction fails