目录

class info
public class ReferrerDetails extends Object
Describes the install referrer information.

Public Constructor Summary

Constructor name
ReferrerDetails(Bundle referrerBundle)
Constructor function.

Public Method Summary

Return typeMethod name
StringgetInstallReferrer()

Obtains install referrer information.

longgetReferrerClickTimestampMillisecond()

Obtains the ad click timestamp, in milliseconds.

longgetInstallBeginTimestampMillisecond()

Obtains the app installation timestamp, in milliseconds.

Public Constructors

constructor
public ReferrerDetails(Bundle referrerBundle)
Creates a ReferrerDetails object.

Parameters

Parameter nameParameter desc
referrerBundleBundle data type. You can customize a key-value pair to create a ReferrerDetails object.

Public Methods

Method
public String getInstallReferrer()
Obtains install referrer information.

Return

Return typedesc
StringAn install referrer defined by you is returned. Example: this is test install referrer
Method
public long getReferrerClickTimestampMillisecond()
Obtains the ad click timestamp, in milliseconds.

Return

Return typedesc
longTimestamp when the ad was clicked. The value is the number of milliseconds since 1970-01-01 00:00:00 UTC. Example: 1481009302123
Method
public long getInstallBeginTimestampMillisecond()
Obtains the app installation timestamp, in milliseconds.

Return

Return typedesc
longTimestamp when the app was installed. The value is the number of milliseconds since 1970-01-01 00:00:00 UTC. Example: 1481009302123