BMFUpdateElement class
离线地图更新信息
Constructors
- BMFUpdateElement({int cityID, String cityName, int ratio, int status, BMFCoordinate geoPt, int size, int serversize, int level, bool update})
- BMFUpdateElement构造方法
- BMFUpdateElement.fromMap(Map map)
- map => BMFUpdateElement
Properties
- cityID ↔ int
-
城市ID
read / write
- cityName ↔ String
-
城市名称
read / write
- geoPt ↔ BMFCoordinate
-
城市中心点坐标
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- level ↔ int
-
离线包地图层级(ios没有)
read / write
- ratio ↔ int
-
下载比率,100为下载完成
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- serversize ↔ int
-
服务端数据大小
read / write
- size ↔ int
-
已下载数据大小
read / write
- status ↔ int
-
下载状态
read / write
- update ↔ bool
-
是否为更新
read / write
Methods
-
fromMap(
Map map) → dynamic - map -> dynamic
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toMap(
) → Map< String, Object> - model -> map
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Constants
- DOWNLOADING → const int
-
正在下载
1
- eOLDSFormatError → const int
-
数据错误,需重新下载
9
- eOLDSIOError → const int
-
读写异常
7
- eOLDSMd5Error → const int
-
校验失败
5
- eOLDSNetError → const int
-
网络异常
6
- eOLDSWifiError → const int
-
wifi网络异常
8
- FINISHED → const int
-
完成
4
- SUSPENDED → const int
-
已暂停
3
- UNDEFINED → const int
-
未定义
0
- WAITING → const int
-
等待下载
2