Stay organized with collections
Save and categorize content based on your preferences.
ReferrerDetails
public
class
ReferrerDetails
extends Object
java.lang.Object
|
↳ |
com.android.installreferrer.api.ReferrerDetails
|
Represents an install referrer details.
Summary
Inherited methods |
From
class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
ReferrerDetails
ReferrerDetails (Bundle referrerBundle)
Parameters |
referrerBundle |
Bundle |
Public methods
getGooglePlayInstantParam
boolean getGooglePlayInstantParam ()
Boolean indicating if the user has interacted with the app's instant experience in the past 7
days.
getInstallBeginTimestampSeconds
long getInstallBeginTimestampSeconds ()
The timestamp in seconds when installation begins.
getInstallReferrer
String getInstallReferrer ()
The referrer URL of the installed package.
getReferrerClickTimestampSeconds
long getReferrerClickTimestampSeconds ()
The timestamp in seconds when referrer click happens.
Annotations
Interfaces
Classes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# ReferrerDetails\n\nSummary: [Ctors](#pubctors) \\| [Methods](#pubmethods) \\| [Inherited Methods](#inhmethods) \\| [\\[Expand All\\]](#) \n\nReferrerDetails\n===============\n\n\n`\npublic\n\n\nclass\nReferrerDetails\n`\n\n\n`\n\nextends Object\n\n\n`\n\n`\n\n\n`\n\n|---|-------------------------------------------------|\n| java.lang.Object ||\n| ↳ | com.android.installreferrer.api.ReferrerDetails |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nRepresents an install referrer details.\n\nSummary\n-------\n\n| ### Public constructors ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[ReferrerDetails](/reference/com/android/installreferrer/api/ReferrerDetails#ReferrerDetails(android.os.Bundle))`(Bundle referrerBundle) ` |\n\n| ### Public methods ||\n|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` boolean` | ` `[getGooglePlayInstantParam](/reference/com/android/installreferrer/api/ReferrerDetails#getGooglePlayInstantParam())`() ` Boolean indicating if the user has interacted with the app's instant experience in the past 7 days. |\n| ` long` | ` `[getInstallBeginTimestampSeconds](/reference/com/android/installreferrer/api/ReferrerDetails#getInstallBeginTimestampSeconds())`() ` The timestamp in seconds when installation begins. |\n| ` String` | ` `[getInstallReferrer](/reference/com/android/installreferrer/api/ReferrerDetails#getInstallReferrer())`() ` The referrer URL of the installed package. |\n| ` long` | ` `[getReferrerClickTimestampSeconds](/reference/com/android/installreferrer/api/ReferrerDetails#getReferrerClickTimestampSeconds())`() ` The timestamp in seconds when referrer click happens. |\n\n| ### Inherited methods |\n|-----------------------|---|\n| From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object` | ` clone() ` | | ` boolean` | ` equals(Object arg0) ` | | ` void` | ` finalize() ` | | ` final Class\u003c?\u003e` | ` getClass() ` | | ` int` | ` hashCode() ` | | ` final void` | ` notify() ` | | ` final void` | ` notifyAll() ` | | ` String` | ` toString() ` | | ` final void` | ` wait(long arg0, int arg1) ` | | ` final void` | ` wait(long arg0) ` | | ` final void` | ` wait() ` | ||\n\nPublic constructors\n-------------------\n\n### ReferrerDetails\n\n```\nReferrerDetails (Bundle referrerBundle)\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Parameters ||\n|------------------|-----------------|\n| `referrerBundle` | `Bundle` \u003cbr /\u003e |\n\nPublic methods\n--------------\n\n### getGooglePlayInstantParam\n\n```\nboolean getGooglePlayInstantParam ()\n```\n\nBoolean indicating if the user has interacted with the app's instant experience in the past 7\ndays.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------|--------|\n| `boolean` | \u003cbr /\u003e |\n\n### getInstallBeginTimestampSeconds\n\n```\nlong getInstallBeginTimestampSeconds ()\n```\n\nThe timestamp in seconds when installation begins.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n### getInstallReferrer\n\n```\nString getInstallReferrer ()\n```\n\nThe referrer URL of the installed package.\n\n\u003cbr /\u003e\n\n| Returns ||\n|----------|--------|\n| `String` | \u003cbr /\u003e |\n\n### getReferrerClickTimestampSeconds\n\n```\nlong getReferrerClickTimestampSeconds ()\n```\n\nThe timestamp in seconds when referrer click happens.\n\n\u003cbr /\u003e\n\n| Returns ||\n|--------|--------|\n| `long` | \u003cbr /\u003e |\n\n-\n\n Annotations\n -----------\n\n - [InstallReferrerClient.InstallReferrerResponse](/reference/com/android/installreferrer/api/InstallReferrerClient.InstallReferrerResponse)\n-\n\n Interfaces\n ----------\n\n - [InstallReferrerStateListener](/reference/com/android/installreferrer/api/InstallReferrerStateListener)\n-\n\n Classes\n -------\n\n - [InstallReferrerClient](/reference/com/android/installreferrer/api/InstallReferrerClient)\n - [InstallReferrerClient.Builder](/reference/com/android/installreferrer/api/InstallReferrerClient.Builder)\n - [ReferrerDetails](/reference/com/android/installreferrer/api/ReferrerDetails)"]]