NodeApi.GetLocalNodeResult
Public Method Summary
abstract Node
|
getNode()
Returns a Node
object which represents this device.
|
Inherited Method Summary
From interface com.google.android.gms.common.api.Result
Public Methods
public abstract Node getNode ()
Returns a Node
object
which represents this device.
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.
[null,null,["Last updated 2024-10-31 UTC."],[[["This interface, `NodeApi.GetLocalNodeResult`, is deprecated and you should use `NodeClient.getLocalNode()` instead."],["It provides information about the current device, specifically its name and ID, represented as a `Node` object."],["You can access the `Node` object representing the device using the `getNode()` method."]]],["`NodeApi.GetLocalNodeResult` is a deprecated interface for retrieving information about the local device. It is replaced by `NodeClient.getLocalNode()`. This interface provides a method, `getNode()`, which returns a `Node` object that represents the current device. Additionally, it inherits `getStatus()` from the `Result` interface, which provides the result status. The `Node` object contains the name and ID of the device.\n"]]