UwbDevice


public final class UwbDevice


Represents a UWB device.

Summary

Public constructors

Public methods

static final @NonNull UwbDevice
createForAddress(@NonNull byte[] address)

Creates a new UwbDevice for a given address.

static final @NonNull UwbDevice

Creates a new UwbDevice for a given address.

final @NonNull UwbAddress

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

Public constructors

UwbDevice

Added in 1.0.0-alpha10
public UwbDevice(@NonNull UwbAddress address)

Public methods

createForAddress

Added in 1.0.0-alpha10
public static final @NonNull UwbDevice createForAddress(@NonNull byte[] address)

Creates a new UwbDevice for a given address.

createForAddress

Added in 1.0.0-alpha10
public static final @NonNull UwbDevice createForAddress(@NonNull String address)

Creates a new UwbDevice for a given address.

Throws
kotlin.IllegalArgumentException

if address is invalid.

getAddress

Added in 1.0.0-alpha10
public final @NonNull UwbAddress getAddress()

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