BaiduMap_IOSSDK_v7.1.0_Docs  7.1.0
构造函数 | 类方法 | 属性 | 所有成员列表
BMKLicenseAuthorizeManager类 参考

#import <BMKLicenseAuthorizeManager.h>

类 BMKLicenseAuthorizeManager 继承关系图:

构造函数

(void) - authorizeLicenseWithServiceType:userInfo:needActive:completion:
 
(BOOL) - checkAuthorizeLicensePermissionWithServiceType:userInfo:
 

类方法

(instancetype) + sharedManager
 单例 更多...
 

属性

BMKAuthorizeUserInfoauthorizeUserInfo
 当前授权设备信息 更多...
 

函数文档

◆ authorizeLicenseWithServiceType:userInfo:needActive:completion:

- (void) authorizeLicenseWithServiceType: (BMKAuthorizeServiceType)  serviceType
userInfo: (BMKAuthorizeUserInfo *)  userInfo
needActive: (BOOL)  needActive
completion: (BMKAuthorizeCompletionBlock completion 

授权请求,只请求和返回单个服务授权状态 serviceType 业务服务,BMKAuthorizeServiceTypeALL为所有服务 userInfo 用户设备信息 needActive 是否需SDK端上激活,YES:端上主动激活操作并校验,消耗lincese配额 NO:端上仅拉取lincese信息做校验,不做激活操作 completion 授权完成回调,包含授权错误码和单个服务授权状态

◆ checkAuthorizeLicensePermissionWithServiceType:userInfo:

- (BOOL) checkAuthorizeLicensePermissionWithServiceType: (BMKAuthorizeServiceType)  serviceType
userInfo: (BMKAuthorizeUserInfo *)  userInfo 

检测当前设备单个服务是否有权限

返回
YES 有;NO 没有

◆ sharedManager

+ (instancetype) sharedManager

单例

属性说明

◆ authorizeUserInfo

- (BMKAuthorizeUserInfo*) authorizeUserInfo
readnonatomicassign

当前授权设备信息


该类的文档由以下文件生成: