main.com.wisetrack.sdk.ReferrerDetails.kt Maven / Gradle / Ivy
package com.wisetrack.sdk
/**
@author hamed (@hamed-hsb)
* @since 06th October 2021
*/
data class ReferrerDetails(
var installReferrer: String, // The referrer URL of the installed package.
var referrerClickTimestampSeconds: Long, // The client-side timestamp, when the referrer click happened.
var installBeginTimestampSeconds: Long, // The client-side timestamp, when app installation began.
var referrerClickTimestampServerSeconds: Long = -1, // The server-side timestamp, when the referrer click happened.
var installBeginTimestampServerSeconds: Long = -1, // The server-side timestamp, when app installation began.
var installVersion: String? = null, // The app's version at the time when the app was first installed.
var googlePlayInstant: Boolean? = null // Indicates whether app's instant experience was launched within the past 7 days.
) {
override fun toString(): String {
return "ReferrerDetails(installReferrer='$installReferrer', referrerClickTimestampSeconds=$referrerClickTimestampSeconds, installBeginTimestampSeconds=$installBeginTimestampSeconds, referrerClickTimestampServerSeconds=$referrerClickTimestampServerSeconds, installBeginTimestampServerSeconds=$installBeginTimestampServerSeconds, installVersion=$installVersion, googlePlayInstant=$googlePlayInstant)"
}
}