Builder
class Builder
kotlin.Any | |
↳ | com.google.android.gms.dtdi.core.AnalyticsInfo.Builder |
Direct use of AnalyticsInfo.Builder
is not supported.
Builder for AnalyticsInfo.
Summary
Public constructors |
|
---|---|
<init>() Direct use of |
Public methods |
|
---|---|
AnalyticsInfo |
build() Build the AnalyticsInfo. |
AnalyticsInfo.Builder |
setCorrelationId(correlationId: ByteArray) Randomly generated, PII-free identifier for a group of devices participating in a single experience. |
AnalyticsInfo.Builder |
setGenesisMillis(genesisMillis: Long) Time this correlation data was created. |
AnalyticsInfo.Builder |
setLocalEphemeralDeviceId(localEphemeralDeviceId: ByteArray) Randomly generated, PII-free, identifier, for the local device in a single experience. |
AnalyticsInfo.Builder |
setParentCorrelationId(parentCorrelationId: ByteArray) A parent Correlation Identifier that this experience is associated with. |
AnalyticsInfo.Builder |
setRegenerated(regenerated: Boolean) Indicates whether this set of identifiers was regenerated because of expiration or not. |
Public constructors
<init>
Builder()
Direct use of AnalyticsInfo.Builder
is not supported.
Builder for AnalyticsInfo.
Public methods
setCorrelationId
fun setCorrelationId(correlationId: ByteArray): AnalyticsInfo.Builder
Randomly generated, PII-free identifier for a group of devices participating in a single experience.
setGenesisMillis
fun setGenesisMillis(genesisMillis: Long): AnalyticsInfo.Builder
Time this correlation data was created. Used to track identifier expiration.
setLocalEphemeralDeviceId
fun setLocalEphemeralDeviceId(localEphemeralDeviceId: ByteArray): AnalyticsInfo.Builder
Randomly generated, PII-free, identifier, for the local device in a single experience.
setParentCorrelationId
fun setParentCorrelationId(parentCorrelationId: ByteArray): AnalyticsInfo.Builder
A parent Correlation Identifier that this experience is associated with.
setRegenerated
fun setRegenerated(regenerated: Boolean): AnalyticsInfo.Builder
Indicates whether this set of identifiers was regenerated because of expiration or not.