diff options
author | Luan Nguyen <luann@google.com> | 2014-12-02 10:53:09 -0800 |
---|---|---|
committer | Luan Nguyen <luann@google.com> | 2014-12-03 15:31:27 -0800 |
commit | 050d636bbc36ce02141c13bb2d8f05a0564713dd (patch) | |
tree | 0225eac93d3b4b27337a2844d6063e007abb255e /docs/html/training | |
parent | 6cd78bb2613260b0eb8341748d5cebe4a46f10e5 (diff) | |
download | frameworks_base-050d636bbc36ce02141c13bb2d8f05a0564713dd.zip frameworks_base-050d636bbc36ce02141c13bb2d8f05a0564713dd.tar.gz frameworks_base-050d636bbc36ce02141c13bb2d8f05a0564713dd.tar.bz2 |
docs: Update MessageAPI notes to mention the unreliable transmission nature.
Bug: 17527501
Change-Id: I385747e4453c5079d7a034fbe7377a5fb260fa1d
Diffstat (limited to 'docs/html/training')
-rw-r--r-- | docs/html/training/wearables/data-layer/index.jd | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/html/training/wearables/data-layer/index.jd b/docs/html/training/wearables/data-layer/index.jd index 8d42ae3..85b2c33 100644 --- a/docs/html/training/wearables/data-layer/index.jd +++ b/docs/html/training/wearables/data-layer/index.jd @@ -30,9 +30,12 @@ the data layer:</p> <dd>The <a href="{@docRoot}reference/com/google/android/gms/wearable/MessageApi.html"><code>MessageApi</code></a> class 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 - request/response communication model.</dd> + Messages are also great for one-way requests or for a request/response communication model. + If the handheld and wearable are connected, the system queues the message for delivery and + returns a successful result code. If the devices are not connected, an error is returned. A + successful result code does not indicate that the message was delivered successfully as the + devices may disconnect after receiving the result code. +</p></dd> <dt><b>Asset</b></dt> <dd><a href="{@docRoot}reference/com/google/android/gms/wearable/Asset.html"><code>Asset</code></a> objects are for |