TencentNavKit

Instance Methods | Class Methods | Properties | List of all members
TNKLocationAdapter Class Reference

定位管理类 More...

`#import <TNKLocationAdapter.h>`

Inheritance diagram for TNKLocationAdapter:

## Instance Methods
(void) | - setDebugLog:
(void) | - addLocationListener:
| 添加定位监听 More...
(void) | - removeLocationListener:
| 移除定位监听 More...
(void) | - addLocationListener:lisenerConfig:
| 添加定位监听 More...

## Class Methods
(instancetype) | + sharedInstance
| 单例 More...

## Properties
BOOL | enableAntiMock
| 设置是否开启定位作弊检测功能，默认为false,开启定位之前调用 More...

## Detailed Description

定位管理类

## Method Documentation

## ◆ addLocationListener:

- (void) addLocationListener: |  | (id< TencentLBSLocationManagerDelegate >) | delegate |

添加定位监听

设置离线定位数据库大小阈值

Parameters

  size | 单位MB，默认50MB

## ◆ addLocationListener:lisenerConfig:

- (void) addLocationListener: |  | (id< TencentLBSLocationManagerDelegate >) | delegate
lisenerConfig: |  | (TNKLocationListenerConfig *_Nullable) | lisenerConfig

添加定位监听

## ◆ removeLocationListener:

- (void) removeLocationListener: |  | (id< TencentLBSLocationManagerDelegate >) | delegate |

移除定位监听

## ◆ setDebugLog:

- (void) setDebugLog: |  | (BOOL) | on |

## ◆ sharedInstance

+ (instancetype) sharedInstance |  |  |

单例

## Property Documentation

## ◆ enableAntiMock

- (BOOL) enableAntiMock
| readwritenonatomicassign

设置是否开启定位作弊检测功能，默认为false,开启定位之前调用

The documentation for this class was generated from the following file:

- TNKLocationAdapter.h