MessagePartParam

data class MessagePartParam(val index: Int?, val type: CharSequence?, var style: StylePart?) : MessagePart

Constructors

Link copied to clipboard
constructor(index: Int?, type: CharSequence?, style: StylePart?)

Properties

Link copied to clipboard
val index: Int?
Link copied to clipboard
open override val maxParameterIndex: Int

returns the max used parameter index in the message. "-1" if there is no parameter

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun format(parameters: List<Any>, locale: Locale, context: MessageFormatContext): CharSequence
open override fun format(result: StringBuilder, parameters: List<Any>, locale: Locale, context: MessageFormatContext)