Is Nodeapi Specific To Android Wear?
I want to detect the connected Android Wear device in my app. I found the solution here using NodeApi. But the documentation doesn't say anything about that is it specific to Andro
Solution 1:
The NodeApi is for Android Wear, but it is an API that can be used on the device side.
NodeApi.GetConnectedNodesResult nodes =
Wearable.NodeApi.getConnectedNodes( mApiClient ).await();
Then for each node within nodes, you can call getDisplayName()
.
Post a Comment for "Is Nodeapi Specific To Android Wear?"