iOS高德地图SDK(3D) V11.2.0001

Classes | Typedefs
MATraceManager.h File Reference
`#import "MAConfig.h"`
`#import <Foundation/Foundation.h>`
`#import <AMapFoundationKit/AMapFoundationKit.h>`
`#import "MATraceLocation.h"`

Go to the source code of this file.

## Classes
protocol | <MATraceDelegate>
| 轨迹定位的代理协议，since v6.2.0 Proxy protocol for trajectory positioning since v6.2.0 More...
class | MATraceManager

## Typedefs
typedef void(^ | MAProcessingCallback) (int index, NSArray< MATracePoint * > *points)
typedef void(^ | MAFinishCallback) (NSArray< MATracePoint * > *points, double distance)
typedef void(^ | MAFailedCallback) (int errorCode, NSString *errorDesc)
typedef void(^ | MATraceLocationCallback) (NSArray< CLLocation * > *locations, NSArray< MATracePoint * > *tracePoints, double distance, NSError *error)

## Typedef Documentation

## ◆ MAFailedCallback

typedef void(^ MAFailedCallback) (int errorCode, NSString *errorDesc)

失败回调 Failure callback

## ◆ 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

© 2017 高德信息技术有限公司 版权所有，保留所有权利。