DeleteFenceOption class
删除围栏信息请求类
Constructors
-
DeleteFenceOption.deleteLocalFenceOption({@required int tag, @required int serviceId, List<
int> fenceIds, String monitoredPerson}) - 构建删除本地围栏请求对象
-
DeleteFenceOption.deleteServerFenceOption({@required int tag, @required int serviceId, @required List<
int> fenceIds, String monitoredPerson}) - 构建删除服务端围栏请求对象
Properties
-
fenceIds
↔ List<
int> -
要删除的地理围栏的ID数组,若为null或空数组则删除监控对象上的所有地理围栏(必传)
read / write
- fenceType ↔ FenceType
-
围栏类型 (必传)
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- isCanceled ↔ bool
-
是否取消请求 (android)
read / write, inherited
- monitoredPerson ↔ String
-
要删除的地理围栏所监控的对象
可选。
fenceIDs与monitoredObject共同决定了将被删除的地理围栏实体,规则如下:
若fenceIDs与monitoredObject同时设置,会删除指定的ID列表中,被监控对象为monitoredObject的地理围栏;
若设置了fenceIDs,但是没有设置monitoredObject,则会删除指定的ID列表对应的地理围栏;
若设置了monitoredObject,但是没有设置fenceIDs,则会删除所有被监控对象为monitoredObject的地理围栏;
若fenceIDs与monitoredObject都没有设置,则会删除所有的地理围栏。
read / write
- 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