-
public class AppsFlyerApiService
-
-
Field Summary
Fields Modifier and Type Field Description public static StringCONVERSION_DATA_URLpublic static StringONELINK_BASE_URL
-
Constructor Summary
Constructors Constructor Description AppsFlyerApiService(ApiCallFactory callFactory, IdProvider idProvider, AppsFlyerProperties appsFlyerProperties, UrlProvider urlProvider)
-
Method Summary
Modifier and Type Method Description Call<String>arsValidateSubscription(Map<String, Object> requestData, String devKey, @Nullable() String billingLibVersion)Call<String>sendInAppPurchaseRequest(Map<String, Object> requestData, String devKey, @Nullable() String billingLibVersion)Call<RemoteConfiguration>fetchRemoteConfiguration(boolean isSandbox, boolean isStaging, @NonNull() String cdnToken, int timeoutMillis)Call<String>sendAppsFlyerEvent(AFEvent event, String devKey, ContextProvider contextProvider)Allows to perform generic http calls without any models parsing Call<Map<String, Object>>sendGcdRequest(String channelPostfix, String devKey)Call<String>sendCachedEvent(CachedEvent event)Call<String>createOneLink(@NonNull() String oneLinkId, @NonNull() Map<String, String> data, @Nullable() String brandDomain, @NonNull() UUID uuid, @NonNull() String devKey)Call<Map<String, String>>resolveOneLink(@NonNull() String oneLinkId, @NonNull() String shortLinkId, @NonNull() UUID uuid, @NonNull() String devKey)Call<String>crossPromoteImpression(@NonNull() String url)UploadRemoteDebugRequestcreateRdRequest(Map<String, Object> proxyData, String devKey)This method not use ApiCallFactory nor return Call like the other APIs inthis class as the HTTP request will not be executed via the TaskQueue. Map<String, Object>getOneLinkMeta()-
-
Constructor Detail
-
AppsFlyerApiService
AppsFlyerApiService(ApiCallFactory callFactory, IdProvider idProvider, AppsFlyerProperties appsFlyerProperties, UrlProvider urlProvider)
-
-
Method Detail
-
arsValidateSubscription
@Nullable() Call<String> arsValidateSubscription(Map<String, Object> requestData, String devKey, @Nullable() String billingLibVersion)
-
sendInAppPurchaseRequest
@Nullable() Call<String> sendInAppPurchaseRequest(Map<String, Object> requestData, String devKey, @Nullable() String billingLibVersion)
-
fetchRemoteConfiguration
@NonNull() Call<RemoteConfiguration> fetchRemoteConfiguration(boolean isSandbox, boolean isStaging, @NonNull() String cdnToken, int timeoutMillis)
-
sendAppsFlyerEvent
@Nullable() Call<String> sendAppsFlyerEvent(AFEvent event, String devKey, ContextProvider contextProvider)
Allows to perform generic http calls without any models parsing
-
sendCachedEvent
Call<String> sendCachedEvent(CachedEvent event)
-
createOneLink
Call<String> createOneLink(@NonNull() String oneLinkId, @NonNull() Map<String, String> data, @Nullable() String brandDomain, @NonNull() UUID uuid, @NonNull() String devKey)
-
resolveOneLink
Call<Map<String, String>> resolveOneLink(@NonNull() String oneLinkId, @NonNull() String shortLinkId, @NonNull() UUID uuid, @NonNull() String devKey)
-
crossPromoteImpression
Call<String> crossPromoteImpression(@NonNull() String url)
-
createRdRequest
@Nullable() UploadRemoteDebugRequest createRdRequest(Map<String, Object> proxyData, String devKey)
This method not use ApiCallFactory nor return Call like the other APIs inthis class as the HTTP request will not be executed via the TaskQueue. However, the HTTP will use MonitorHttpRequest and background ExecutorService
-
getOneLinkMeta
Map<String, Object> getOneLinkMeta()
-
-
-
-