Fence class

围栏对象

Implementers

Constructors

Fence({@required FenceType fenceType, @required FenceShape fenceShape, int fenceId, String fenceName, String monitoredPerson, int deNoise: 0})
Fence.fromMap(Map map)

Properties

deNoise ↔ int
围栏去噪参数 地理围栏的去燥精度。 每个轨迹点都有一个定位误差半径radius,这个值越大,代表定位越不准确,可能是噪点。围栏计算时,如果噪点也参与计算,会造成误报的情况。设置denoise可控制,当轨迹点的定位误差半径大于设置值时,就会把该轨迹点当做噪点,不参与围栏计算。 可选,如果不设置,该值默认为0,不去噪。 单位:米。 精度的值必须为正整数。
read / write
fenceId ↔ int
围栏编号(服务端返回)
read / write
fenceName ↔ String
围栏名称
read / write
fenceShape FenceShape
围栏形状
read / write
fenceType FenceType
围栏类型(本地围栏、服务端围栏)
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
monitoredPerson ↔ String
监控对象 新建地理围栏时必填,必须为非空字符串。 更新地理围栏时选填。 地理围栏支持监控一至多个entity,用法如下: [...]
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() → Map
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited