百度地图SDK for iOS v4.0.0 类参考
BMKRadarResult.h
1 //
2 // BMKRadarResult.h
3 // RadarComponent
4 //
5 // Created by wzy on 15/4/22.
6 // Copyright (c) 2015年 baidu. All rights reserved.
7 //
8 
9 #ifndef RadarComponent_BMKRadarResult_h
10 #define RadarComponent_BMKRadarResult_h
11 
12 #import "BMKRadarOption.h"
13 
15 typedef enum {
16  BMK_RADAR_NO_ERROR = 0,
17  BMK_RADAR_NO_RESULT,
18  BMK_RADAR_AK_NOT_BIND,
19  BMK_RADAR_NETWOKR_ERROR,
20  BMK_RADAR_NETWOKR_TIMEOUT,
21  BMK_RADAR_PERMISSION_UNFINISHED,
22  BMK_RADAR_AK_ERROR,
23  BMK_RADAR_USERID_NOT_EXIST,
24  BMK_RADAR_FORBID_BY_USER,
25  BMK_RADAR_FORBID_BY_ADMIN
26 }BMKRadarErrorCode;
27 
29 @interface BMKRadarNearbyInfo : NSObject
30 
32 @property (nonatomic, strong) NSString* userId;
34 @property (nonatomic, assign) CLLocationCoordinate2D pt;
36 @property (nonatomic, assign) NSUInteger distance;
38 @property (nonatomic, strong) NSString* extInfo;
40 @property (nonatomic, strong) NSString* mobileType;
42 @property (nonatomic, strong) NSString* osType;
44 @property (nonatomic, assign) NSTimeInterval timeStamp;
45 
46 
47 @end
48 
49 
51 @interface BMKRadarNearbyResult : NSObject
52 
54 @property (nonatomic, assign) NSInteger totalNum;
56 @property (nonatomic, assign) NSInteger pageNum;
58 @property (nonatomic, assign) NSInteger currNum;
60 @property (nonatomic, assign) NSInteger pageIndex;
62 @property (nonatomic, strong) NSArray* infoList;
63 
64 
65 @end
66 
67 #endif
CLLocationCoordinate2D pt
地址坐标
Definition: BMKRadarResult.h:34
NSString * mobileType
设备类型
Definition: BMKRadarResult.h:40
查询周边的用户信息结果类
Definition: BMKRadarResult.h:51
NSString * extInfo
扩展信息
Definition: BMKRadarResult.h:38
NSString * userId
用户id
Definition: BMKRadarResult.h:32
NSString * osType
设备系统
Definition: BMKRadarResult.h:42
周边的用户信息类
Definition: BMKRadarResult.h:29
NSUInteger distance
距离
Definition: BMKRadarResult.h:36
NSTimeInterval timeStamp
时间戳
Definition: BMKRadarResult.h:44