TrackCacheOption class
删除客户端缓存的轨迹数据时的筛选条件 删除客户端缓存的轨迹数据时的筛选条件,每个筛选条件用于指定某个需要删除的entity所符合的特征。 若指定startTime和endTime,则删除指定entity在该时间段内的缓存; 若不指定,则删除指定entity的所有缓存数据。
Constructors
- TrackCacheOption({@required String entityName, @required int total, int startTime, int endTime, double cacheDistance})
- 有参构造
- TrackCacheOption.fromMap(Map map)
- map => TrackCacheOption
Properties
- cacheDistance ↔ double
-
缓存轨迹的距离,单位:米 (android)
read / write
- endTime ↔ int
-
需要删除的缓存的结束时间,可选。
read / write
- entityName ↔ String
-
需要删除哪个entity的缓存数据,必选。
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- startTime ↔ int
-
需要删除的缓存的开始时间,可选。
read / write
- total ↔ int
-
所属entity对应的缓存数据量。(android)
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map - TrackCacheOption => map
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited