TencentNavKit

TNKLocationAdapter.h
Go to the documentation of this file.
1//
2// TNKLocationAdapter.h
3// TencentNavKit
4//
5// Created by mol on 2021/6/10.
6// Copyright © 2021 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <TencentLBS/TencentLBS.h>
11#import <TencentNavKit/TNKLocationListenerConfig.h>
12
13NS_ASSUME_NONNULL_BEGIN
14
16@interface TNKLocationAdapter : NSObject
17
19+ (instancetype)sharedInstance;
20
21- (void)setDebugLog:(BOOL)on;
22
24@property (nonatomic, assign) BOOL enableAntiMock;
25
30//- (void)setOfflineDBSize:(NSUInteger)size;
31
33- (void)addLocationListener:(id<TencentLBSLocationManagerDelegate>)delegate;
34
36- (void)removeLocationListener:(id<TencentLBSLocationManagerDelegate>)delegate;
37
39- (void)addLocationListener:(id<TencentLBSLocationManagerDelegate>)delegate
40 lisenerConfig:(TNKLocationListenerConfig * _Nullable)lisenerConfig;
41
42@end
43
44NS_ASSUME_NONNULL_END
TNKLocationAdapter
定位管理类
Definition: TNKLocationAdapter.h:17
TNKLocationAdapter::enableAntiMock
BOOL enableAntiMock
设置是否开启定位作弊检测功能，默认为false,开启定位之前调用
Definition: TNKLocationAdapter.h:24
+[TNKLocationAdapter sharedInstance]
instancetype sharedInstance()
单例
TNKLocationListenerConfig
Definition: TNKLocationListenerConfig.h:19