public class AlarmPoint
extends java.lang.Object
构造器和说明 |
---|
AlarmPoint() |
AlarmPoint(LatLng location,
CoordType coordType,
long locTime,
double radius) |
AlarmPoint(LatLng location,
CoordType coordType,
long locTime,
long createTime,
double radius) |
限定符和类型 | 方法和说明 |
---|---|
CoordType |
getCoordType()
获取坐标类型
|
long |
getCreateTime()
获取上传到服务端时间(只在查询服务端围栏历史报警信息时,该字段有值)
|
LatLng |
getLocation()
获取坐标经纬度信息
|
long |
getLocTime()
获取定位时间(单位:秒)
|
double |
getRadius()
获取定位精度(单位:米)
|
void |
setCoordType(CoordType coordType) |
void |
setCreateTime(long createTime) |
void |
setLocation(LatLng location) |
void |
setLocTime(long locTime) |
void |
setRadius(double radius) |
java.lang.String |
toString() |
public AlarmPoint()
public AlarmPoint(LatLng location, CoordType coordType, long locTime, double radius)
location
- 经纬度坐标coordType
- 坐标类型locTime
- 定位时间radius
- 定位精度public LatLng getLocation()
public void setLocation(LatLng location)
public CoordType getCoordType()
public void setCoordType(CoordType coordType)
public long getLocTime()
public void setLocTime(long locTime)
public long getCreateTime()
public void setCreateTime(long createTime)
public double getRadius()
public void setRadius(double radius)
public java.lang.String toString()
toString
在类中 java.lang.Object