commonMain.dev.datlag.kast.UnselectReason.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kast-jvm Show documentation
Show all versions of kast-jvm Show documentation
Kotlin multiplatform casting library.
The newest version!
package dev.datlag.kast
import kotlinx.serialization.Serializable
@Serializable
sealed interface UnselectReason {
@Serializable
data object Unknown : UnselectReason
@Serializable
data object Disconnected : UnselectReason
@Serializable
data object Stopped : UnselectReason
@Serializable
data object Device_Changed : UnselectReason
companion object {
@JvmField
val unknown = Unknown
@JvmField
val disconnected: UnselectReason = Disconnected
@JvmField
val stopped: UnselectReason = Stopped
@JvmField
val deviceChanged: UnselectReason = Device_Changed
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy