BMFAndroidVersion class

获取android系统版本号

Constructors

BMFAndroidVersion()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

getAndroidVersion bool
获取Android 系统版本是否小于10
no setter
mIsAndroidVersion bool
Android 系统版本是否小于10 默认false小于10,使用textureMapview渲染
getter/setter pair
setAndroidVersion bool
设置系统版本是否小于Android 10
no getter

Static Methods

initAndroidVersion() Future<void>
初始化时获取系统版本,适配BMFMapWidget在flutter sdk升级3.0之后兼容底版本手机问题。 Andriod 10 以下手机上在使用BMFMapWidget的时,使用textureMapview渲染。 Android 10 及以上机型则使用surfaceMapView渲染。 默认 mIsAndroidVersion 是false,使用textureMapview渲染