UwbDevice
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public static UwbDevice
createForAddress (byte[]
address)
Creates a new UwbDevice for a given address.
public static UwbDevice
createForAddress (String
address)
Creates a new UwbDevice for a given address.
public boolean equals (Object o)
public UwbAddress
getAddress ()
The device address (eg, MAC address).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["`UwbDevice` represents an Ultra-wideband (UWB) device and provides access to its address."],["You can create a `UwbDevice` instance using either a byte array or a String representation of the device address."],["The `getAddress()` method retrieves the device's address, such as its MAC address, as a `UwbAddress` object."],["This class provides standard methods like `equals()`, `hashCode()`, and `toString()` for object comparison and representation."]]],["The `UwbDevice` class represents a UWB device. Key actions include creating a new `UwbDevice` using `createForAddress`, which accepts either a byte array or a string. Other methods allow to compare `UwbDevice` using `equals`, retrieve the device address with `getAddress`, generate a hash code using `hashCode` or get a string representation using `toString`. Also the methods inherited from `Object` class are summarized.\n"]]