DeviceConnector

abstract class DeviceConnector

Identifies device connection providers.

Device connectors are used when connecting devices, allowing to specify using which connection provider the device must be connected.

The list of available connectors for a device can be retrieved from the device state.

Types

Technology
Link copied to clipboard
enum Technology : Enum<DeviceConnector.Technology>

Technology used to connect.

Type
Link copied to clipboard
enum Type : Enum<DeviceConnector.Type>

Device connector types.

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

deviceUid
Link copied to clipboard
@get:JvmName(name = "getUid")
open val deviceUid: String? = null

Unique identifier of the device that provides this connector; null for local connectors.

technology
Link copied to clipboard
abstract val technology: DeviceConnector.Technology

Technology used by this connector.

type
Link copied to clipboard
abstract val type: DeviceConnector.Type

Connector type.