Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

InstallReferrerClient.InstallReferrerResponse

public static abstract @interface InstallReferrerClient.InstallReferrerResponse
implements Annotation

com.android.installreferrer.api.InstallReferrerClient.InstallReferrerResponse


Possible return codes.

Summary

Constants

int DEVELOPER_ERROR

General errors caused by incorrect usage

int FEATURE_NOT_SUPPORTED

Install Referrer API not supported by the installed Play Store app.

int OK

Success.

int SERVICE_DISCONNECTED

Play Store service is not connected now - potentially transient state.

int SERVICE_UNAVAILABLE

Could not initiate connection to the Install Referrer service.

Inherited methods

From interface java.lang.annotation.Annotation

Constants

DEVELOPER_ERROR

int DEVELOPER_ERROR

General errors caused by incorrect usage

Constant Value: 3 (0x00000003)

FEATURE_NOT_SUPPORTED

int FEATURE_NOT_SUPPORTED

Install Referrer API not supported by the installed Play Store app.

Constant Value: 2 (0x00000002)

OK

int OK

Success.

Constant Value: 0 (0x00000000)

SERVICE_DISCONNECTED

int SERVICE_DISCONNECTED

Play Store service is not connected now - potentially transient state.

E.g. Play Store could have been updated in the background while your app was still running. So feel free to introduce your retry policy for such use case. It should lead to a call to startConnection(InstallReferrerStateListener) right after or in some time after you received this code.

Constant Value: -1 (0xffffffff)

SERVICE_UNAVAILABLE

int SERVICE_UNAVAILABLE

Could not initiate connection to the Install Referrer service.

Constant Value: 1 (0x00000001)