LocationIdentifier

sealed class LocationIdentifier

Union type for identifying an instrumentation configuration by code location or locationHash. Used in Get/Delete/GetStatus operations to allow flexible identification.

Inheritors

Types

Link copied to clipboard

The full code location specification (will be hashed internally)

Link copied to clipboard
data class LocationHash(val value: String) : LocationIdentifier

The pre-computed location hash (16-character hex string)

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard

Casts this LocationIdentifier as a LocationHash and retrieves its kotlin.String value. Throws an exception if the LocationIdentifier is not a LocationHash.

Link copied to clipboard

Casts this LocationIdentifier as a LocationHash and retrieves its kotlin.String value. Returns null if the LocationIdentifier is not a LocationHash.