public abstract class BDNotifyListener
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
float |
differDistance
已废弃
|
boolean |
isAdded |
java.lang.String |
mCoorType
围栏坐标类型
|
double |
mLatitude
围栏中心点纬度坐标
|
double |
mLatitudeC |
double |
mLongitude
围栏中心点经度坐标
|
double |
mLongitudeC |
NotifyCache |
mNotifyCache |
float |
mRadius
围栏半径
|
int |
Notified |
构造器和说明 |
---|
BDNotifyListener() |
限定符和类型 | 方法和说明 |
---|---|
void |
onNotify(BDLocation mlocation,
float distance)
位置提醒回调函数
|
void |
SetNotifyLocation(double latitude,
double longitude,
float radius,
java.lang.String coorType)
设置位置提醒的点的相关参数,
|
public double mLatitude
public double mLongitude
public float mRadius
public float differDistance
public java.lang.String mCoorType
public double mLatitudeC
public double mLongitudeC
public int Notified
public boolean isAdded
public NotifyCache mNotifyCache
public void SetNotifyLocation(double latitude, double longitude, float radius, java.lang.String coorType)
latitude
- 纬度,经度,距离范围,坐标系类型(gcj02,gps,bd09,bd09ll)longitude
- 经度radius
- 距离范围coorType
- 坐标系类型(gcj02,gps,bd09,bd09ll)public void onNotify(BDLocation mlocation, float distance)
mlocation
- 位置坐标distance
- 当前位置跟设定提醒点的距离