Stay organized with collections Save and categorize content based on your preferences.

AnalyticsInfo

class AnalyticsInfo : AbstractSafeParcelable, ReflectedParcelable
com.google.android.gms.dtdi.core.AnalyticsInfo

Direct use of AnalyticsInfo is not supported.

Information used to log new events downstream of a top-level event. This includes events within an experience (using correlation_info) and events within an experience (using correlation_id).

Summary

Nested classes

Direct use of AnalyticsInfo.Builder is not supported.

Public constructors

<init>(genesisMillis: Long, correlationId: ByteArray, localEphemeralDeviceId: ByteArray, regenerated: Boolean, parentCorrelationId: ByteArray? = null)

Direct use of AnalyticsInfo is not supported.

Public methods

Boolean
equals(other: Any?)

Int

Unit
writeToParcel(dest: Parcel, flags: Int)

Properties

ByteArray

Randomly generated, PII-free identifier for a group of devices participating in a single experience.

Long

Time this correlation data was created.

ByteArray

Randomly generated, PII-free, identifier, for the local device in a single experience.

ByteArray?

A parent Correlation Identifier that this experience is associated with.

Boolean

Indicates whether this set of identifiers was regenerated because of expiration or not.

Companion properties

Creator<AnalyticsInfo>

Required Parcelable Creator.

Public constructors

<init>

AnalyticsInfo(
    genesisMillis: Long,
    correlationId: ByteArray,
    localEphemeralDeviceId: ByteArray,
    regenerated: Boolean,
    parentCorrelationId: ByteArray? = null)

Direct use of AnalyticsInfo is not supported.

Information used to log new events downstream of a top-level event. This includes events within an experience (using correlation_info) and events within an experience (using correlation_id).

Public methods

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

writeToParcel

fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Properties

correlationId

val correlationId: ByteArray

Randomly generated, PII-free identifier for a group of devices participating in a single experience.

genesisMillis

val genesisMillis: Long

Time this correlation data was created. Used to track identifier expiration.

localEphemeralDeviceId

val localEphemeralDeviceId: ByteArray

Randomly generated, PII-free, identifier, for the local device in a single experience.

parentCorrelationId

val parentCorrelationId: ByteArray?

A parent Correlation Identifier that this experience is associated with.

regenerated

val regenerated: Boolean

Indicates whether this set of identifiers was regenerated because of expiration or not.

Companion properties

CREATOR

val CREATOR: Creator<AnalyticsInfo>

Required Parcelable Creator.