-
- All Implemented Interfaces:
-
com.appsflyer.AppsFlyerConversionListener,com.appsflyer.deeplink.DeepLinkListener,com.appsflyer.share.LinkGenerator.ResponseListener
public class AppsFlyer2dXConversionCallback implements AppsFlyerConversionListener, DeepLinkListener, LinkGenerator.ResponseListener
-
-
Constructor Summary
Constructors Constructor Description AppsFlyer2dXConversionCallback()
-
Method Summary
Modifier and Type Method Description native voidonInstallConversionDataLoadedNative(Object conversionData)native voidonInstallConversionFailureNative(Object errorMessage)native voidonAppOpenAttributionNative(Object attributionData)native voidonAttributionFailureNative(Object errorMessage)native voidonDeepLinkingNative(@NonNull() DeepLinkResult deepLinkResult)native voidonResponseNative(String oneLinkUrl)native voidonResponseErrorNative(String message)voidonConversionDataSuccess(Map<String, Object> conversionData)voidonConversionDataFail(String errorMessage)voidonAppOpenAttribution(Map<String, String> attributionData)This callback will NOT be invoked if subscribeForDeepLink or subscribeForDeepLink were used voidonAttributionFailure(String errorMessage)This callback will NOT be invoked if subscribeForDeepLink or subscribeForDeepLink were used voidonDeepLinking(@NonNull() DeepLinkResult deepLinkResult)voidonResponse(String oneLinkUrl)Called when short onelink was generated successfully voidonResponseError(String message)Called when short link generation failed -
-
Method Detail
-
onInstallConversionDataLoadedNative
native void onInstallConversionDataLoadedNative(Object conversionData)
-
onInstallConversionFailureNative
native void onInstallConversionFailureNative(Object errorMessage)
-
onAppOpenAttributionNative
native void onAppOpenAttributionNative(Object attributionData)
-
onAttributionFailureNative
native void onAttributionFailureNative(Object errorMessage)
-
onDeepLinkingNative
native void onDeepLinkingNative(@NonNull() DeepLinkResult deepLinkResult)
-
onResponseNative
native void onResponseNative(String oneLinkUrl)
-
onResponseErrorNative
native void onResponseErrorNative(String message)
-
onConversionDataSuccess
void onConversionDataSuccess(Map<String, Object> conversionData)
- Parameters:
conversionData- may containnullvalues for some keys.Please handle this case.
-
onConversionDataFail
void onConversionDataFail(String errorMessage)
-
onAppOpenAttribution
void onAppOpenAttribution(Map<String, String> attributionData)
This callback will NOT be invoked if subscribeForDeepLink or subscribeForDeepLink were used
-
onAttributionFailure
void onAttributionFailure(String errorMessage)
This callback will NOT be invoked if subscribeForDeepLink or subscribeForDeepLink were used
-
onDeepLinking
void onDeepLinking(@NonNull() DeepLinkResult deepLinkResult)
-
onResponse
void onResponse(String oneLinkUrl)
Called when short onelink was generated successfully
- Parameters:
oneLinkUrl- short link
-
onResponseError
void onResponseError(String message)
Called when short link generation failed
- Parameters:
message- error message
-
-
-
-