Skip to content

Commit

Permalink
fix DataLayer README
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroaki404 committed Jul 13, 2024
1 parent 8ea4f95 commit cdd9b66
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DataLayer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ val request = PutDataMapRequest.create(IMAGE_PATH).apply {
```
This use case is successful if the watch is connected and has the Wear app
installed which is implemented by using [CapabilityClient][4].

2. Send data from the phone to the watch and ackownledge via a message
The phone app increments a counter and send it over a period of 5 seconds as a [DataItem] by using [DataClient][2].
The phone app increments a counter and send it over a period of 5 seconds as a [DataItem][5] by using [DataClient][2].
The Wear app receives the [DataItem][5] by implementing a [WearableListenerService][1] and acknowledge
by sending a [Message] via [MessageClient][3]
by sending a message via [MessageClient][3]
```
messageClient.sendMessage(
nodeId,
Expand Down

0 comments on commit cdd9b66

Please sign in to comment.