Identifiers

public final class Identifiers


Direct use of Identifiers is not supported.

Collection of identifiers for logging cross-device for DTDI.

Summary

Nested types

public final class Identifiers.OpaqueId

Immutable class that represents an ID.

public static class Identifiers.OpaqueId.Companion

Public methods

boolean
equals(Object other)
final @NonNull Identifiers.OpaqueId

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

final @NonNull Identifiers.OpaqueId

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

final Identifiers.OpaqueId

Optional parent correlationId to associate this set of identifiers with.

final boolean

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

int
final @NonNull Identifiers

Generates a new set of identifiers for after expiration.

Public methods

equals

public boolean equals(Object other)

getCorrelationId

public final @NonNull Identifiers.OpaqueId getCorrelationId()

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

getEphemeralDeviceId

public final @NonNull Identifiers.OpaqueId getEphemeralDeviceId()

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

getParentCorrelationId

public final Identifiers.OpaqueId getParentCorrelationId()

Optional parent correlationId to associate this set of identifiers with.

getRegenerated

public final boolean getRegenerated()

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

hashCode

public int hashCode()

regenerate

public final @NonNull Identifiers regenerate()

Generates a new set of identifiers for after expiration.