commonMain.inkapplications.shade.events.EventSerializerContainer.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of events-js Show documentation
Show all versions of events-js Show documentation
Multiplatform Kotlin SDK for Hue lighting controls (unofficial)
package inkapplications.shade.events
import kotlinx.serialization.DeserializationStrategy
/**
* Stores the serializers used for deserializing event stream data.
*/
interface EventSerializerContainer {
/**
* Register a deserializer for a specific event type.
*
* @param type The key used to designate this type on the json object.
* @param deserializer Deserializer used for events of [type]
*/
fun setDeserializer(type: String, deserializer: DeserializationStrategy)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy