-
public final class DeviceIdentifier
设备标识符工具类。
双检查锁机制实现单例模式缓存一下标识符,解决APP合规性检测机构检测到的频繁读取设备信息问题
-
-
Method Summary
Modifier and Type Method Description static String
getClientId()
static String
getIMEI(Context context)
static String
getIMEI(Context context)
static String
getOAID(Context context)
static String
getOAID(Context context)
static String
getGUID(Context context)
static String
getGUID(Context context)
static void
register(Application application)
static void
register(Application application, IRegisterCallback callback)
static String
getAndroidID(Context context)
static String
getWidevineID()
static String
getPseudoID()
-
-
Method Detail
-
getClientId
static String getClientId()
-
register
static void register(Application application)
-
register
static void register(Application application, IRegisterCallback callback)
-
getAndroidID
static String getAndroidID(Context context)
-
getWidevineID
static String getWidevineID()
-
getPseudoID
static String getPseudoID()
-
-
-
-