BaiduMap_IOSSDK_v7.1.0_Docs
7.1.0
BaiduMapAPI_WalkNavi.framework
Headers
BMKLicenseAuthorizeManager.h
浏览该文件的文档.
1
//
2
// BMKLicenseAuthorizeManager.h
3
// BaiduMapAPI_WalkNavi
4
//
5
// Created by zhaoxiangru on 2023/12/20.
6
// Copyright © 2023 Baidu. All rights reserved.
7
//
8
9
#import <Foundation/Foundation.h>
10
#import "
BMKAuthorizeServiceModel.h
"
11
12
@class
BMKLicenseModel;
13
NS_ASSUME_NONNULL_BEGIN
14
15
@interface
BMKLicenseAuthorizeManager
: NSObject
17
@property
(nonatomic, readonly)
BMKAuthorizeUserInfo
*
authorizeUserInfo
;
18
20
+ (instancetype)
sharedManager
;
21
27
- (void)authorizeLicenseWithServiceType:(BMKAuthorizeServiceType)serviceType userInfo:(
BMKAuthorizeUserInfo
*)userInfo needActive:(BOOL)needActive completion:(
BMKAuthorizeCompletionBlock
)completion;
28
31
- (BOOL)checkAuthorizeLicensePermissionWithServiceType:(BMKAuthorizeServiceType)serviceType userInfo:(
BMKAuthorizeUserInfo
*)userInfo;
32
@end
33
34
NS_ASSUME_NONNULL_END
+[BMKLicenseAuthorizeManager sharedManager]
instancetype sharedManager()
单例
BMKAuthorizeCompletionBlock
void(^ BMKAuthorizeCompletionBlock)(BMKLicenseRequestErrorCode errorCode, BMKAuthorizeServiceResult *_Nullable result)
Definition:
BMKAuthorizeServiceModel.h:86
BMKLicenseAuthorizeManager::authorizeUserInfo
BMKAuthorizeUserInfo * authorizeUserInfo
当前授权设备信息
Definition:
BMKLicenseAuthorizeManager.h:17
BMKLicenseAuthorizeManager
Definition:
BMKLicenseAuthorizeManager.h:16
BMKAuthorizeServiceModel.h
BMKAuthorizeUserInfo
Definition:
BMKAuthorizeServiceModel.h:55
制作者
1.8.20