CreateFenceOption class

创建围栏请求参数

Constructors

CreateFenceOption.buildLocalCircleOption({@required int tag, @required int serviceId, @required LatLng center, @required double radius, @required String monitoredPerson, String fenceName, int deNoise: 0, CoordType coordType: CoordType.BD09LL})
构建创建本地圆形围栏请求参数
CreateFenceOption.buildServerCircleFenceOption({@required int tag, @required int serviceId, @required LatLng center, @required double radius, @required String monitoredPerson, String fenceName, int deNoise: 0, CoordType coordType: CoordType.BD09LL})
构建创建服务端圆形围栏请求参数
CreateFenceOption.buildServerDistrictFenceOption({@required int tag, @required int serviceId, @required String keyword, @required String monitoredPerson, String fenceName, String district, int deNoise: 0, CoordType coordType: CoordType.BD09LL})
构建创建服务端行政区域围栏请求参数
CreateFenceOption.buildServerPolygonFenceOption({@required int tag, @required int serviceId, @required List<LatLng> vertexes, @required String monitoredPerson, String fenceName, int deNoise: 0, CoordType coordType: CoordType.BD09LL})
构建创建服务端多边形围栏请求参数
CreateFenceOption.buildServerPolylineFenceOption({@required int tag, @required int serviceId, @required List<LatLng> vertexes, @required int offset, @required String monitoredPerson, String fenceName, int deNoise: 0, CoordType coordType: CoordType.BD09LL})
构建创建服务端线形围栏请求参数

Properties

fence Fence
围栏对象
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
isCanceled ↔ bool
是否取消请求 (android)
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
serviceId ↔ int
鹰眼服务ID 必填
read / write, inherited
tag ↔ int
请求标识 必填
read / write, inherited

Methods

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

Operators

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