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

CorrelationData

class CorrelationData
kotlin.Any
   ↳ com.google.android.gms.dtdi.analytics.CorrelationData

Direct use of CorrelationData is not supported.

Tracks identifiers and their lifespans so that identifiers expire after a period of time.

Summary

Public methods

AnalyticsInfo

Get the DeviceAnalyticsInfo contained in this instance.

Identifiers

Get the currently valid identifiers from this correlation data.

Companion functions

CorrelationData

Restores an instance of CorrelationData from its serialized form.

CorrelationData

Creates a brand new instance with new CID and EDIDs.

Public methods

getAnalyticsInfo

fun getAnalyticsInfo(): AnalyticsInfo

Get the DeviceAnalyticsInfo contained in this instance.

getIdentifiers

fun getIdentifiers(): Identifiers

Get the currently valid identifiers from this correlation data.

Companion functions

createFromAnalyticsInfo

fun createFromAnalyticsInfo(analyticsInfo: AnalyticsInfo): CorrelationData

Restores an instance of CorrelationData from its serialized form.

createNew

fun createNew(): CorrelationData

Creates a brand new instance with new CID and EDIDs.