TencentNavKit
TNKNavServices.h
Go to the documentation of this file.
1//
2// TNKNavServices.h
3// TencentNavKit
4//
5// Created by mol on 2022/7/26.
6// Copyright © 2022年 Tencent. All rights reserved.
7
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
16@interface TNKNavServices : NSObject
17
22
28- (void)setPrivacyAgreement:(BOOL)agreed;
29
34@property (nonatomic, copy) NSString *identifier;
35
39@property (nonatomic, copy) NSString *deviceModel;
40
41
45@property (nonatomic, copy) NSString *key;
46
50- (NSString *)sdkVersion;
51
53- (void)configServiceProtocol:(NSString *)protocolFilePath;
54
55@end
56
57NS_ASSUME_NONNULL_END
导航服务类.包含鉴权,获取版本号等功能
Definition: TNKNavServices.h:17
NSString * identifier
identifier 设备标识,默认取自idfv。排查问题时需提供此identifier。注意,卸载重装时identifier可能发生变化。 如果希望使用自己业务上的设备标识来排查问题,可以将ident...
Definition: TNKNavServices.h:34
NSString * key
在官网申请的服务授权标识的key。官网地址: https://lbs.qq.com/
Definition: TNKNavServices.h:45
NSString * deviceModel
deviceModel 手机型号,可自定义传入
Definition: TNKNavServices.h:39
NSString * sdkVersion()
获取导航SDK的版本号
TNKNavServices * sharedServices()
获取单例