From 050d636bbc36ce02141c13bb2d8f05a0564713dd Mon Sep 17 00:00:00 2001 From: Luan Nguyen Date: Tue, 2 Dec 2014 10:53:09 -0800 Subject: [PATCH] docs: Update MessageAPI notes to mention the unreliable transmission nature. Bug: 17527501 Change-Id: I385747e4453c5079d7a034fbe7377a5fb260fa1d --- docs/html/training/wearables/data-layer/index.jd | 9 ++++++--- 1 file 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 8d42ae3580466..85b2c33a22bc1 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:

The MessageApi 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.
+ 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. +

Asset
Asset objects are for