--- doc/client-api.txt | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) diff --git a/doc/client-api.txt b/doc/client-api.txt index b17eee9..e0dd29d 100644 --- a/doc/client-api.txt +++ b/doc/client-api.txt @@ -198,10 +198,18 @@ Methods void Select(string location, string phonebook) "mch": missing call history "cch": combination of ich och mch - string PullAll() + object PullAll(string targetfile) Return the entire phonebook object from the PSE server - in plain string with vcard format. + in plain string with vcard format, and store it in + a local file. + + If an empty target file is given, a name will be + automatically calculated for the temporary file. + + The returned path represents the newly created transfer, + which should be used to find out if the content has been + successfully transferred or if the operation fails. array{string vcard, string name} List() @@ -209,10 +217,17 @@ Methods void Select(string location, string phonebook) vcard : name paired string, for example "1.vcf" : "John". - string Pull(string vcard) + object Pull(string vcard, string targetfile) Retrieve the vcard in the current phonebook object - for example : Pull("0.vcf") + for example : Pull("0.vcf", "pull-result.vcf") + + If an empty target file is given, a name will be + automatically calculated for the temporary file. + + The returned path represents the newly created transfer, + which should be used to find out if the content has been + successfully transferred or if the operation fails. array{string vcard, string name} Search(string field, string value) -- 1.7.6.4 -- 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