DeviceSystem class

获取设备标识

Constructors

DeviceSystem()

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

getPlatformVersion() Future<String?>
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

aaId Future<String?>
获取缓存的aaId,可能为空
no setter
androidId Future<String?>
获取AndroidID,可能为空
no setter
imei Future<String?>
获取IMEI,可能为空
no setter
isAndroid bool
判断是否是安卓平台
no setter
netOperators Future<String?>
获取网络运营商
no setter
oaId Future<String?>
获取缓存的OAID,可能为空
no setter
operators Future<String?>
获取运营商(优先sim,再网络)
no setter
requestOaId Future<String?>
请求获取OAID,可能为空
no setter
simOperators Future<String?>
获取sim卡运营商
no setter
ua Future<String?>
获取UA
no setter
vaId Future<String?>
获取缓存的vaId,可能为空
no setter

Static Methods

init() Future<void>
获取oaid前初始化
setOaIdAssetFileNameCert(String oaIdAssetFileNameCert) Future<void>
设置oaid的证书,注意证书跟包名有关