InstallReferrerStateListener

public interface InstallReferrerStateListener

com.android.installreferrer.api.InstallReferrerStateListener


Callback for setup process. This listener's onInstallReferrerSetupFinished(int) method is called when the setup process is complete.

Summary

Public methods

abstract void onInstallReferrerServiceDisconnected()

Called to notify that connection to install referrer service was lost.

abstract void onInstallReferrerSetupFinished(int responseCode)

Called to notify that setup is complete.

Public methods

onInstallReferrerServiceDisconnected

void onInstallReferrerServiceDisconnected ()

Called to notify that connection to install referrer service was lost.

Note: This does not remove install referrer service connection itself - this binding to the service will remain active, and you will receive a call to onInstallReferrerSetupFinished(int) when install referrer service is next running and setup is complete.

onInstallReferrerSetupFinished

void onInstallReferrerSetupFinished (int responseCode)

Called to notify that setup is complete.

Parameters
responseCode int: The response code from InstallReferrerClient.InstallReferrerResponse which returns the status of the setup process.