UwbAddress

public final class UwbAddress


Represents a UWB address.

Summary

Public constructors

UwbAddress(@NonNull byte[] address)

Public methods

boolean
equals(Object other)

Checks that two UwbAddresses are equal.

final @NonNull byte[]

the device address (eg, MAC address).

int

Returns the hashcode.

@NonNull String

Returns the string format of UwbAddress.

Public constructors

UwbAddress

Added in 1.0.0-alpha08
public UwbAddress(@NonNull byte[] address)

UwbAddress

Added in 1.0.0-alpha08
public UwbAddress(@NonNull String address)
Throws
kotlin.IllegalArgumentException

if address is invalid.

Public methods

equals

public boolean equals(Object other)

Checks that two UwbAddresses are equal.

getAddress

Added in 1.0.0-alpha08
public final @NonNull byte[] getAddress()

the device address (eg, MAC address).

hashCode

public int hashCode()

Returns the hashcode.

toString

public @NonNull String toString()

Returns the string format of UwbAddress.