单军华
2017-07-12 20d1260d26b028897f3c0935c12fc35aa37b2e93
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//
//  BMKRadarResult.h
//  RadarComponent
//
//  Created by wzy on 15/4/22.
//  Copyright (c) 2015年 baidu. All rights reserved.
//
 
#ifndef RadarComponent_BMKRadarResult_h
#define RadarComponent_BMKRadarResult_h
 
#import "BMKRadarOption.h"
 
///雷达结果码
typedef enum {
    BMK_RADAR_NO_ERROR = 0,///<成功
    BMK_RADAR_NO_RESULT,///<无结果
    BMK_RADAR_AK_NOT_BIND,///<app key没有绑定,请到管理后台绑定
    BMK_RADAR_NETWOKR_ERROR,///网络连接错误
    BMK_RADAR_NETWOKR_TIMEOUT,///网络连接超时
    BMK_RADAR_PERMISSION_UNFINISHED,///还未完成鉴权,请在鉴权通过后重试
    BMK_RADAR_AK_ERROR,///<app key错误
    BMK_RADAR_USERID_NOT_EXIST,///<userId不存在
    BMK_RADAR_FORBID_BY_USER,///<被开发者禁用
    BMK_RADAR_FORBID_BY_ADMIN///<被管理员禁用
}BMKRadarErrorCode;
 
///周边的用户信息类
@interface BMKRadarNearbyInfo : NSObject
 
///用户id
@property (nonatomic, strong) NSString* userId;
///地址坐标
@property (nonatomic, assign) CLLocationCoordinate2D pt;
///距离
@property (nonatomic, assign) NSUInteger distance;
///扩展信息
@property (nonatomic, strong) NSString* extInfo;
///设备类型
@property (nonatomic, strong) NSString* mobileType;
///设备系统
@property (nonatomic, strong) NSString* osType;
///时间戳
@property (nonatomic, assign) NSTimeInterval timeStamp;
 
 
@end
 
 
///查询周边的用户信息结果类
@interface BMKRadarNearbyResult : NSObject
 
///总结果数
@property (nonatomic, assign) NSInteger totalNum;
///总页数
@property (nonatomic, assign) NSInteger pageNum;
///当前页结果数
@property (nonatomic, assign) NSInteger currNum;
///当前页索引
@property (nonatomic, assign) NSInteger pageIndex;
///结果列表 : BMKRadarNearbyInfo数组
@property (nonatomic, strong) NSArray* infoList;
 
 
@end
 
#endif