AncestorResultIdentifier

class AncestorResultIdentifier constructor(signature: Signature, token: String)

Identifies the ancestor result for a Route. Two Routes have the same identifier if they are descendants from the same original routing result, even if they now have different signatures. This allows treating updates to a Route (for example, due to re-routing events) as the "same" route from a user-facing point of view

Constructors

Link copied to clipboard
fun AncestorResultIdentifier(signature: Signature, token: String = UUID.randomUUID().toString().uppercase(Locale.ROOT))

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard
val signature: Signature
Link copied to clipboard
val token: String