[PATCH obexd v0 3/4] client-doc: Rephrase ambiguities in PBAP interface |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
From: Mikel Astiz <mikel.astiz@xxxxxxxxxxxx>
Rephrase method descriptions that can be misleading or are not clear
enough.
---
doc/client-api.txt | 22 ++++++++++++++--------
1 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/doc/client-api.txt b/doc/client-api.txt
index 8202f39..8621df8 100644
--- a/doc/client-api.txt
+++ b/doc/client-api.txt
@@ -224,14 +224,15 @@ Methods void Select(string location, string phonebook)
array{string vcard, string name} List()
- Return an array of vcard-listing data which contains the
- vcard : name paired string, for example "1.vcf" :
- "John".
+ Return an array of vcard-listing data where every entry
+ consists of a pair of strings containing the vcard
+ handle and the contact name. For example:
+ "1.vcf" : "John"
object, dict Pull(string vcard, string targetfile)
- Retrieve the vcard in the current phonebook object and
- store it in a local file.
+ Given a vcard handle, retrieve the vcard in the current
+ phonebook object and store it in a local file.
If an empty target file is given, a name will be
automatically calculated for the temporary file.
@@ -246,7 +247,11 @@ Methods void Select(string location, string phonebook)
array{string vcard, string name}
Search(string field, string value)
- Return an array of vcard-listing data which contains the
+ Search for entries matching the given condition and
+ return an array of vcard-listing data where every entry
+ consists of a pair of strings containing the vcard
+ handle and the contact name.
+
vcard : name paired string match the search condition.
field : the field in the vcard to search with
@@ -255,8 +260,9 @@ Methods void Select(string location, string phonebook)
uint16 GetSize()
- Return the number of the non-null entries in the
- selected phonebook object.
+ Return the number of entries in the selected phonebook
+ object that are actually used (i.e. indexes that
+ correspond to non-NULL entries).
void SetFormat(string format)
--
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Bluez Devel]
[Linux USB Devel]
[Linux Media Drivers]
[Linux Audio Users]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Bluez Devel]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Big List of Linux Books]