public interface InstallReferrerCallback
Receives the answer from an InstallReferrerSource.
Implemented by the framework; an application never implements this.
Methods
public abstract void onReferrer(String rawReferrer, long referrerClickSeconds, long installBeginSeconds) | Called with the raw referrer query string the store recorded at install time. |
public abstract void onUnavailable(String reason) | Called when no referrer can be obtained. |
Method details
onReferrer
public abstract void onReferrer(String rawReferrer, long referrerClickSeconds, long installBeginSeconds)Called with the raw referrer query string the store recorded at
install time.
Parameters
rawReferrerString- the undecoded referrer query string, may be empty
referrerClickSecondslong- when the link was clicked, in seconds since the epoch, or 0 when the store did not say
installBeginSecondslong- when the install began, in seconds since the epoch, or 0 when the store did not say