iOS高德地图SDK(基础) V1.9.2
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
20
21typedef void(^AMapLicenseSetupCompletion)(int errorCode, NSString * _Nullable msg, NSUInteger featureBits);
22
23@protocol AMapLicenseManagerDelegate <NSObject>
24@optional
42- (void)licenseTerminalAuthResult:(int)errorCode errmsg:(NSString *)msg;
43
50- (void)licenseTerminalAuthResult:(int)errorCode errmsg:(NSString *)msg featureBits:(NSUInteger)featureBits;
51
52@end
53
54@interface AMapLicenseManager : NSObject
55
56@property (nonatomic, weak) id<AMapLicenseManagerDelegate> delegate;
57
58@property (nonatomic, copy, nullable) AMapLicenseSetupCompletion setupLicenseCompletion;
59
60+ (instancetype)shareManager;
61
71- (void)setupLicense:(NSString *)licenseId deviceId:(NSString *)deviceId terminalId:(NSString *)terminalId;
72
73@end
74
75NS_ASSUME_NONNULL_END
76
void(^ AMapLicenseSetupCompletion)(int errorCode, NSString *_Nullable msg, NSUInteger featureBits)
Definition AMapLicenseManager.h:21
AMapLicenseFeatureBits
Definition AMapLicenseManager.h:16
@ AMapLicenseFeatureBitsAdvanced
Definition AMapLicenseManager.h:18
@ AMapLicenseFeatureBitsNone
Definition AMapLicenseManager.h:17
Definition AMapLicenseManager.h:55
instancetype shareManager()
AMapLicenseSetupCompletion setupLicenseCompletion
Definition AMapLicenseManager.h:58
id< AMapLicenseManagerDelegate > delegate
Definition AMapLicenseManager.h:56
© 2017 高德信息技术有限公司 版权所有,保留所有权利。