UwbDevice


class UwbDevice


Represents a UWB device.

Summary

Public companion functions

UwbDevice

Creates a new UwbDevice for a given address.

UwbDevice

Creates a new UwbDevice for a given address.

Public constructors

Public properties

UwbAddress

the device address (e.g., MAC address).

Public companion functions

createForAddress

Added in 1.0.0-alpha10
fun createForAddress(address: ByteArray): UwbDevice

Creates a new UwbDevice for a given address.

createForAddress

Added in 1.0.0-alpha10
fun createForAddress(address: String): UwbDevice

Creates a new UwbDevice for a given address.

Throws
kotlin.IllegalArgumentException

if address is invalid.

Public constructors

UwbDevice

Added in 1.0.0-alpha10
UwbDevice(address: UwbAddress)

Public properties

address

Added in 1.0.0-alpha10
val addressUwbAddress

the device address (e.g., MAC address).