AppsFlyerConversionListener
Overview
The AppsFlyerConversionListener
is a public interface that lets you listen to conversions.
Go back to the SDK reference index.
AppsFlyerConversionListener
The AppsFlyerConversionListener
interface requires you override the following methods:
All methods must be overridden. Otherwise, a compilation error is thrown.
Public Methods
onAppOpenAttribution
Method signature
void onAppOpenAttribution(java.util.Map<java.lang.String,java.lang.String> attributionData)
Description
This callback will NOT be invoked if AppsFlyerLib.subscribeForDeepLink is used.
Callback parameters
Type | name | Description |
---|---|---|
Map<String, String> | attributionData |
Returns
void
onAttributionFailure
Method signature
void onAttributionFailure(java.lang.String errorMessage)
Description
This callback will NOT be invoked if AppsFlyerLib.subscribeForDeepLink is used.
Callback parameters
Type | name | Description |
---|---|---|
String | errorMessage |
Returns
void
onConversionDataSuccess
Method signature
void onConversionDataSuccess(java.util.Map<java.lang.String,java.lang.Object> conversionData)
Description
Triggered upon successful conversion data resolution.
Callback parameters
Type | name | Description |
---|---|---|
Map<String, Object> | conversionData | You must explicitly handle null keys. |
Returns
void
.
onConversionDataFail
Method signature
void onConversionDataFail(java.lang.String errorMessage)
Description
Triggered upon failed conversion data resolution.
Callback parameters
Type | name | Description |
---|---|---|
String | errorMessage |
Returns
void
.
Updated 12 months ago