Support Home > SDK Integration > SDK – KochavaTracker Android > Interface – AttributionListener

Interface – AttributionListener



DEPRECATED: As of 3.3.0, because attribution information can now be updated and delivered to the app multiple times. The replacement with update functionality is now handled through AttributionUpdateListener.


public interface AttributionListener

Tracker Attribution listener.

Attribution information is assessed and stored within Kochava’s Servers, where it is reported back to you through your Kochava account.

You may also retrieve this information from within your app by using this listener interface. Attribution information is usually available within about 10 seconds from the initial launch, although it is subject to a variety of conditions which can cause this time interval to be longer. Once attribution information has been retrieved the result is cached locally and is available using the method Tracker.getAttribution().


NOTE: Retrieving the information within your app should only be done if your app makes use of this information, otherwise it causes needless network communication.

Method Summary

Modifier and Type Method and Description
void onAttributionReceived(java.lang.String attribution)

As of 3.3.0, replaced by AttributionUpdateListener.onAttributionUpdated(String)

Method Detail


void onAttributionReceived(@NonNull java.lang.String attribution)

DEPRECATED: As of 3.3.0, replaced by AttributionUpdateListener.onAttributionUpdated(String) Attribution information was received.

This method will be called on the main thread.

attribution – Install attribution serialized json.

See Also

Related Class Tracker.Configuration

Tracker Configuration Object Builder.


Last Modified: Nov 28, 2017 at 12:48 pm