|
百度定位SDK for iOS v1.6 类参考
|
圆形地理围栏 更多...
#import <BMKGeoFenceRegion.h>
构造函数 | |
| (id) | - initWithCustomID:identityID:center:radius:coor: |
| 构造圆形围栏 更多... | |
构造函数 继承自 BMKGeoFenceRegion | |
| (BMKGeoFenceRegionStatus) | - judgeStatusWithCoor: |
| 判断位置与围栏状态 更多... | |
属性 | |
| CLLocationCoordinate2D | center |
| 中心点的经纬度坐标 | |
| CLLocationDistance | radius |
| 半径,单位:米 | |
属性 继承自 BMKGeoFenceRegion | |
| NSString * | identifier |
| BMKGeoFenceRegion的唯一标识符 | |
| NSString * | customID |
| 用户自定义ID,可为nil。 | |
| BMKGeoFenceRegionStatus | fenceStatus |
| 坐标点和围栏的关系,比如用户的位置和围栏的关系 | |
| BMKLocationCoordinateType | coordinateType |
| 设定围栏坐标系类型。默认为 BMKLocationCoordinateTypeGCJ02。 | |
| NSTimeInterval | lastEventTime |
| 上次发生状态变化的时间 | |
圆形地理围栏
| - (id) initWithCustomID: | (NSString *) | customid | |
| identityID: | (NSString *) | identityid | |
| center: | (CLLocationCoordinate2D) | center | |
| radius: | (CLLocationDistance) | radius | |
| coor: | (BMKLocationCoordinateType) | type | |
构造圆形围栏
| customid | 用户自定义ID |
| identityid | 识别id |
| center | 中心坐标 |
| radius | 围栏半径 |
| type | 坐标系类型 |
1.8.14