IosDeviceIdentifier class

Constructors

IosDeviceIdentifier({required String iosDeviceID, String? idfv, String? idfa, String? keychainUUID, String? deviceFingerprint, required String launchUUID, String? combinedId, bool isLimitAdTrackingEnabled = false, required Map<String, String> deviceInfo})
const
IosDeviceIdentifier.fromJson(Map<String, dynamic> json)
factory

Properties

combinedId → String?
组合ID: 多个标识符的组合哈希
final
deviceFingerprint → String?
设备指纹: 基于硬件信息生成的相对稳定标识符
final
deviceInfo → Map<String, String>
设备基本信息
final
hashCode → int
The hash code for this object.
no setterinherited
idfa → String?
IDFA: 广告标识符,iOS 14.5+ 需要用户授权,卸载重装不变
final
idfv → String?
IDFV: 同一开发者应用共享,卸载重装时可能变化
final
iosDeviceID → String
iOS设备ID: 类似Android ID的概念,最推荐用于统计
final
isLimitAdTrackingEnabled → bool
是否限制广告追踪: ATT授权状态
final
keychainUUID → String?
Keychain UUID: 存储在钥匙串中,最稳定的标识符
final
launchUUID → String
应用启动UUID: 每次应用启动生成,测试用
final
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

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