#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) |
◆ MAProcessingCallback
typedef void(^ MAProcessingCallback) (int index, NSArray< MATracePoint * > *points) |
处理中回调, index: 批次编号,0 based
◆ MATraceLocationCallback
typedef void(^ MATraceLocationCallback) (NSArray< CLLocation * > *locations, NSArray< MATracePoint * > *tracePoints, double distance, NSError *error) |
定位回调, locations: 原始定位点; tracePoints: 纠偏后的点,如果纠偏失败返回nil; distance:距离; error: 纠偏失败时的错误信息