data class Device(val name: String, val linkState: LinkState = LinkState.DISCONNECTED, val deviceType: DeviceType = DeviceType.UNKNOWN, val firmwareInfo: String? = null, val compatibility: DeviceCompatibility = DeviceCompatibility.COMPATIBLE)
Device
(
name
, linkState
, deviceType
, firmwareInfo
, compatibility
)
|
Signature
constructor(name: String, linkState: LinkState = LinkState.DISCONNECTED, deviceType: DeviceType = DeviceType.UNKNOWN, firmwareInfo: String? = null, compatibility: DeviceCompatibility = DeviceCompatibility.COMPATIBLE) Parameters name: String
The human-readable name of the device
firmwareInfo: String?
Optional firmware build version information for the device
compatibility: DeviceCompatibilityReturns Device |
compatibility
: DeviceCompatibility
[Get] |
Signature
val compatibility: DeviceCompatibility |
deviceType
: DeviceType
[Get] |
The specific type of Meta Wearables device
Signature
val deviceType: DeviceType |
firmwareInfo
: String?
[Get] |
Optional firmware build version information for the device
Signature
val firmwareInfo: String? = null |
linkState
: LinkState
[Get] |
Whether the device is Connected, Connecting, or Disconnected
Signature
val linkState: LinkState |
name
: String
[Get] |
The human-readable name of the device
Signature
val name: String |