-
public class IdProviderCentral point to obtain all possible identifiers - AppId, Device Id, advertiser id, etc)
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringAF_PREINSTALL_REFERRERS_DISABLEDpublic final static StringBUILD_NUMBERprivate StringpreSbid
-
Constructor Summary
Constructors Constructor Description IdProvider(ContextProvider contextProvider, AppsFlyerPreferences preferences, SessionStorage sessionStorage, Executor backgroundExecutor)
-
Method Summary
Modifier and Type Method Description StringgetPreSbid()StringgetAndroidApiVersionString()StringgetSdkVersionName()StringgetRandomUuidString()StringgetCustomerUserId()StringgetAdvertiserId()AdvertisingIdObjectgetAdvertiserIdObject()booleanshouldCollectIDs()AdvertisingIdDatagetAdvertiserIdData()AdvertisingIdObjectgetOaidObject()StringgetOaid()AdvertisingIdObjectgetAmazonIdObject()StringgetAmazonId()StringgetAppPackageName()StringgetAppVersionName()intgetAppTargetSDKVer()StringgetAppsFlyerUID()StringgetManifestMetaData(String key)StringgetStringResourceByName(String resName)booleangetBooleanManifestMetaData(String key, boolean defValue)static StringgetSdkVersion()StringgetConfiguredChannel()booleanisAppPreInstalled(Context context)StringgetFacebookAttributionId(Context context)intgetLaunchCounter()intgetNonLaunchCounter()-
-
Constructor Detail
-
IdProvider
IdProvider(ContextProvider contextProvider, AppsFlyerPreferences preferences, SessionStorage sessionStorage, Executor backgroundExecutor)
-
-
Method Detail
-
getPreSbid
@NonNull() String getPreSbid()
-
getAndroidApiVersionString
String getAndroidApiVersionString()
-
getSdkVersionName
@NonNull() String getSdkVersionName()
-
getRandomUuidString
@NonNull() String getRandomUuidString()
-
getCustomerUserId
String getCustomerUserId()
-
getAdvertiserId
@Nullable() String getAdvertiserId()
-
getAdvertiserIdObject
@Nullable() AdvertisingIdObject getAdvertiserIdObject()
-
shouldCollectIDs
boolean shouldCollectIDs()
-
getAdvertiserIdData
@Nullable() AdvertisingIdData getAdvertiserIdData()
-
getOaidObject
@Nullable() AdvertisingIdObject getOaidObject()
-
getAmazonIdObject
@Nullable() AdvertisingIdObject getAmazonIdObject()
-
getAmazonId
@Nullable() String getAmazonId()
-
getAppPackageName
@NonNull() String getAppPackageName()
-
getAppVersionName
@NonNull() String getAppVersionName()
-
getAppTargetSDKVer
int getAppTargetSDKVer()
-
getAppsFlyerUID
@Nullable() String getAppsFlyerUID()
-
getManifestMetaData
@Nullable() String getManifestMetaData(String key)
-
getStringResourceByName
@Nullable() String getStringResourceByName(String resName)
-
getBooleanManifestMetaData
boolean getBooleanManifestMetaData(String key, boolean defValue)
-
getSdkVersion
static String getSdkVersion()
-
getConfiguredChannel
@Nullable() String getConfiguredChannel()
-
isAppPreInstalled
boolean isAppPreInstalled(Context context)
-
getFacebookAttributionId
String getFacebookAttributionId(Context context)
-
getLaunchCounter
int getLaunchCounter()
-
getNonLaunchCounter
int getNonLaunchCounter()
-
-
-
-