diff options
author | Luan Nguyen <luann@google.com> | 2015-04-28 21:09:22 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-28 21:09:22 +0000 |
commit | 50ea942255e139d3ace81cdd3f90be75625edd69 (patch) | |
tree | 0ab9269b3830b86baaee2b6d48ca28c861e14148 /docs/html | |
parent | 6bb65f0d837ea9e49238415f907db5ae6da26eca (diff) | |
parent | 4e7500e10cf10eb697bb3e916bf705b9db470c8f (diff) | |
download | frameworks_base-50ea942255e139d3ace81cdd3f90be75625edd69.zip frameworks_base-50ea942255e139d3ace81cdd3f90be75625edd69.tar.gz frameworks_base-50ea942255e139d3ace81cdd3f90be75625edd69.tar.bz2 |
am 4e7500e1: am c1609dc0: docs: Update information on delivering message to clarify that MessageAPI is not reliable.
* commit '4e7500e10cf10eb697bb3e916bf705b9db470c8f':
docs: Update information on delivering message to clarify that MessageAPI is not reliable.
Diffstat (limited to 'docs/html')
-rw-r--r-- | docs/html/training/wearables/data-layer/messages.jd | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/html/training/wearables/data-layer/messages.jd b/docs/html/training/wearables/data-layer/messages.jd index 043aff2..ef9bfb1 100644 --- a/docs/html/training/wearables/data-layer/messages.jd +++ b/docs/html/training/wearables/data-layer/messages.jd @@ -34,7 +34,7 @@ such as sending a message to the wearable to start an activity.</p> <p>Multiple wearable devices can be connected to a user’s handheld device. Each connected device in the network is considered a <em>node</em>. With multiple connected devices, you must consider which -nodes receive the messages. For example, In a voice transcription app that receives voice data on +nodes receive the messages. For example, in a voice transcription app that receives voice data on the wearable device, you should send the message to a node with the processing power and battery capacity to handle the request, such as a handheld device.</p> @@ -196,7 +196,15 @@ class.</p> <p>The following example shows how to send a message to the transcription-capable node from a wearable device. Verify that the node is available before you attempt to send the message. This call -is synchronous and blocks processing until the message is received or until the request times out. +is synchronous and blocks processing until the system queues the message for delivery. +</p> + +<p class="note"><strong>Note:</strong> A successful result code does not guarantee delivery of the +message. If your app requires data reliability, use +<a href="{@docRoot}reference/com/google/android/gms/wearable/DataItem.html"><code>DataItem</code></a> +objects or the +<a href="{@docRoot}reference/com/google/android/gms/wearable/ChannelApi.html"><code>ChannelApi</code></a> +class to send data between devices. </p> <pre> |