MiredSerializer

object MiredSerializer : DelegateSerializer<Int, ColorTemperature>

Convert standard ColorTemperatures to/from Mireds

Hue's API calls this a 'mirek' in an effort to make the most obscure term for this unit, but it seems to be identical to a Mired. Now you don't have to deal with it.

Functions

Link copied to clipboard
override fun deserialize(decoder: Decoder): ColorTemperature
Link copied to clipboard
override fun serialize(encoder: Encoder, value: ColorTemperature)

Properties

Link copied to clipboard
override val descriptor: SerialDescriptor