Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Základní interface, který implementují všechna zařízení.
Link copied to clipboard
data class BluetoothState(val bluetoothDisabled: Boolean = false, val bluetoothNotAvailable: Boolean = false, val missingPermissions: Boolean = false)
Stav bluetooth na mobilním zařízení
Link copied to clipboard
interface BondedDevice<TProgress : Any, TProperties : Any> : Device<TProgress, TProperties, Nothing, Nothing>
Already bonded device.
Link copied to clipboard
Napojovací konfigurace zařízení.
Link copied to clipboard
sealed class Connection<out TProgress, out TProperties, out TConnectionConfiguration, out TConnectionProvidedConfiguration>
Ongoing connection to a device.
Link copied to clipboard
interface Device<TProgress, TProperties, TConnectionConfiguration, TConnectionProvidedConfiguration> : BaseDevice
Device.
Link copied to clipboard
class DeviceConnection<TProgress, TProperties, TConnectionConfiguration, TConnectionProvidedConfiguration>(val device: Device<TProgress, TProperties, TConnectionConfiguration, TConnectionProvidedConfiguration>, val state: DeviceConnection.State = State.None, val uid: String = "", val progress: TProgress? = null, val data: DeviceConnection.Data, val error: DeviceConnection.Error = Error.None, val connectionConfiguration: Configuration<TConnectionConfiguration, TConnectionProvidedConfiguration>? = null, val properties: TProperties? = null, val batteryLevel: Float? = null, val resourcesAvailableAt: Instant? = null)
Properties
Link copied to clipboard
Represents device connection terminating state. (Disconnected, ConnectError, Timeout, BluetoothInvalidState)