9 #ifndef BMKLocationAuth_h
10 #define BMKLocationAuth_h
13 typedef NS_ENUM(NSInteger, BMKLocationAuthErrorCode) {
14 BMKLocationAuthErrorUnknown = -1,
15 BMKLocationAuthErrorSuccess = 0,
16 BMKLocationAuthErrorNetworkFailed = 1,
17 BMKLocationAuthErrorFailed = 2,
28 - (void)onCheckPermissionState:(BMKLocationAuthErrorCode)iError;
36 @property(nonatomic, readonly, assign) BMKLocationAuthErrorCode permisionState
__deprecated_msg(
"已废弃since 2.0.5");
63 - (void)setAgreePrivacy:(BOOL)agreePrivacy;