AnalyticsInfo

class AnalyticsInfo : Parcelable


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 types

Builder for AnalyticsInfo.

Public companion properties

Parcelable.Creator<AnalyticsInfo>

Required Parcelable Creator.

Public constructors

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

Public functions

open operator Boolean
equals(other: Any?)
open Int
open Unit
writeToParcel(dest: Parcel, flags: Int)

Public 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.

Public companion properties

CREATOR

val CREATOR: Parcelable.Creator<AnalyticsInfo>

Required Parcelable Creator.

Public constructors

AnalyticsInfo

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

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

writeToParcel

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

Public 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.