百度定位SDK for iOS v1.7 类参考
|
BMKLocationAuth类。用于鉴权 更多...
#import <BMKLocationAuth.h>
构造函数 | |
(void) | - checkPermisionWithKey:authDelegate: |
启动引擎 更多... | |
类方法 | |
(BMKLocationAuth *) | + sharedInstance |
得到BMKLocationAuth的单例 | |
属性 | |
BMKLocationAuthErrorCode | permisionState |
鉴权状态0:成功; 1:网络错误; 2:授权失败 | |
BMKLocationAuth类。用于鉴权
- (void) checkPermisionWithKey: | (NSString *) | key | |
authDelegate: | (id< BMKLocationAuthDelegate >) | delegate | |
启动引擎
key | 申请的有效key |
delegate | 回调是否鉴权成功 |