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

TypenameDescription
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

TypenameDescription
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

TypenameDescription
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

TypenameDescription
String errorMessage

Returns
void.