commonMain.dev.datlag.kast.Kast.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.collections.immutable.ImmutableSet
import kotlinx.coroutines.flow.StateFlow
expect object Kast {
val isSupported: Boolean
val connectionState: StateFlow
val allAvailableDevices: StateFlow>
@JvmStatic
fun dispose(): Kast
@JvmStatic
fun select(device: Device): Kast
@JvmStatic
fun unselect(reason: UnselectReason): Kast
/**
* Android specific options mapped for common module.
*/
object Android {
@JvmStatic
fun activeDiscovery()
@JvmStatic
fun passiveDiscovery()
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy