DeviceListEntry

sealed class DeviceListEntry(source)

A sealed class representing the different types of devices that can be displayed in the connections list.

Inheritors

Types

Link copied to clipboard
data class Ble(val device: BleDevice, val bonded: Boolean = device.isBonded, val node: Node? = null) : DeviceListEntry
Link copied to clipboard
data class Mock(val name: String, val node: Node? = null) : DeviceListEntry
Link copied to clipboard
data class Tcp(val name: String, val fullAddress: String, val node: Node? = null) : DeviceListEntry
Link copied to clipboard
data class Usb(val usbData: UsbDeviceData, val name: String, val fullAddress: String, val bonded: Boolean, val node: Node? = null) : DeviceListEntry

Properties

Link copied to clipboard
Link copied to clipboard
open val bonded: Boolean
Link copied to clipboard
Link copied to clipboard
open val name: String
Link copied to clipboard
open val node: Node?

Functions

Link copied to clipboard
abstract fun copy(node: Node?): DeviceListEntry
Link copied to clipboard
open override fun toString(): String