diff options
author | Robert Ly <robertly@google.com> | 2014-09-15 22:03:04 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-09-15 22:03:04 +0000 |
commit | 6641ddf6711a7f521df6492db167598ec33d2487 (patch) | |
tree | 22db58d84743e84157024f391a49950bff9fa66d /docs | |
parent | 41b12f2932893ed251a68cb0fe657ee918318c77 (diff) | |
parent | d00b110a3b9991553806d196f1115a510a72210c (diff) | |
download | frameworks_base-6641ddf6711a7f521df6492db167598ec33d2487.zip frameworks_base-6641ddf6711a7f521df6492db167598ec33d2487.tar.gz frameworks_base-6641ddf6711a7f521df6492db167598ec33d2487.tar.bz2 |
am d00b110a: am e152b793: docs: remove fire and forget language from wear docs
* commit 'd00b110a3b9991553806d196f1115a510a72210c':
docs: remove fire and forget language from wear docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/training/wearables/data-layer/index.jd | 2 | ||||
-rw-r--r-- | docs/html/training/wearables/data-layer/messages.jd | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/html/training/wearables/data-layer/index.jd b/docs/html/training/wearables/data-layer/index.jd index bac7d3e..39d6561 100644 --- a/docs/html/training/wearables/data-layer/index.jd +++ b/docs/html/training/wearables/data-layer/index.jd @@ -28,7 +28,7 @@ the data layer:</p> <dt><b>Messages</b></dt> <dd>The <a href="{@docRoot}reference/com/google/android/gms/wearable/MessageApi.html"><code>MessageApi</code></a> class - can send messages designed for "fire-and-forget" commands, such as controlling a handheld's + can send messages and is good for remote procedure calls (RPC), such as controlling a handheld's media player from the wearable or starting an intent on the wearable from the handheld. The system always delivers the message when the handheld and wearable are connected and delivers an error when the devices are disconnected. Messages are great for one-way requests or for a diff --git a/docs/html/training/wearables/data-layer/messages.jd b/docs/html/training/wearables/data-layer/messages.jd index 15e552d..71f1bb1 100644 --- a/docs/html/training/wearables/data-layer/messages.jd +++ b/docs/html/training/wearables/data-layer/messages.jd @@ -23,8 +23,8 @@ and attach the following items to the message:</p> </ul> <p> Unlike data items, there is no syncing between the handheld and wearable apps. -Messages are a one-way communication mechanism that's meant for -"fire-and-forget" tasks, such as sending a message to the wearable +Messages are a one-way communication mechanism that's good for remote procedure calls (RPC), +such as sending a message to the wearable to start an activity. You can also use messages in request/response model where one side of the connection sends a message, does some work, sends back a response message.</p> |