iOS高德地图SDK(基础) V1.9.0
Loading...
Searching...
No Matches
AMapLicenseManager.h
Go to the documentation of this file.
1//
2// AMapLicenseManager.h
3// AMapFoundationKit
4//
5// Created by pengdao on 2024/1/16.
6// Copyright © 2024 Amap.com. All rights reserved.
7//
8
9
10#import <Foundation/Foundation.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
15
21
22typedef void(^AMapLicenseSetupCompletion)(int errorCode, NSString * _Nullable msg, NSUInteger featureBits);
23
24@protocol AMapLicenseManagerDelegate <NSObject>
25@optional
36- (void)licenseTerminalAuthResult:(int)errorCode errmsg:(NSString *)msg;
37
42- (void)licenseTerminalAuthResult:(int)errorCode errmsg:(NSString *)msg featureBits:(NSUInteger)featureBits;
43
44@end
45
46@interface AMapLicenseManager : NSObject
47
48@property (nonatomic, weak) id<AMapLicenseManagerDelegate> delegate;
49
50@property (nonatomic, copy, nullable) AMapLicenseSetupCompletion setupLicenseCompletion;
51
52+ (instancetype)shareManager;
53
61- (void)setupLicense:(NSString *)licenseId deviceId:(NSString *)deviceId terminalId:(NSString *)terminalId;
62
63@end
64
65NS_ASSUME_NONNULL_END
66
void(^ AMapLicenseSetupCompletion)(int errorCode, NSString *_Nullable msg, NSUInteger featureBits)
Definition AMapLicenseManager.h:22
AMapLicenseFeatureBits
Definition AMapLicenseManager.h:16
@ AMapLicenseFeatureBitsBase
Definition AMapLicenseManager.h:18
@ AMapLicenseFeatureBitsAdvanced
Definition AMapLicenseManager.h:19
@ AMapLicenseFeatureBitsNone
Definition AMapLicenseManager.h:17
Definition AMapLicenseManager.h:47
instancetype shareManager()
AMapLicenseSetupCompletion setupLicenseCompletion
Definition AMapLicenseManager.h:50
id< AMapLicenseManagerDelegate > delegate
Definition AMapLicenseManager.h:48
© 2017 高德信息技术有限公司 版权所有,保留所有权利。