TolgeeMessageParams

sealed interface TolgeeMessageParams : MessageParameters(source)

Represents parameters for a message to be used in localization or formatting. This sealed interface allows different types of parameter representations: none, indexed, or mapped.

Inheritors

Types

Link copied to clipboard
data class Indexed(val argList: List<Any>) : TolgeeMessageParams

Represents indexed parameters used in formatting messages.

Link copied to clipboard
data class Mapped(val formatArgs: Map<String, Any>) : TolgeeMessageParams

Represents a mapped parameter structure, used for resolving messages by name.

Link copied to clipboard

Represents a "None" implementation of the TolgeeMessageParams interface. This object is used as a placeholder or default implementation where no parameters are required.

Functions

Link copied to clipboard
abstract operator override fun get(name: CharSequence): Any?

Retrieves the value associated with the given key.