summaryrefslogtreecommitdiff
path: root/doc/client-api.txt
diff options
context:
space:
mode:
authorRaymond Liu <raymond.liu@intel.com>2008-12-18 11:24:44 +0800
committerRaymond Liu <raymond.liu@intel.com>2008-12-18 11:24:44 +0800
commit8b0cc6951a3b3bd2a39ddc62bd6475a2db7ac515 (patch)
tree61c9f42c5e96f391680fd3178e097483d2bbe8fc /doc/client-api.txt
parent70cc605c9fe4d97df4f8b9385f112c183472dc82 (diff)
downloadobexd-8b0cc6951a3b3bd2a39ddc62bd6475a2db7ac515.tar.gz
Implement Filter related function for PBAP client
Diffstat (limited to 'doc/client-api.txt')
-rw-r--r--doc/client-api.txt24
1 files changed, 20 insertions, 4 deletions
diff --git a/doc/client-api.txt b/doc/client-api.txt
index 98ca643..3592ca3 100644
--- a/doc/client-api.txt
+++ b/doc/client-api.txt
@@ -199,17 +199,33 @@ Methods void Select(string location, string phonebook)
order : { "indexed" (default) | "alphanumeric" | "phonetic" }
- void SetFilters(array{string})
+ void AddFilter(string filter)
- Indicate fields that should be contained in vcards return by
+ Add a field that should be contained in vcards return by
related methods.
- Give an empty array will clear the filter and return all fields
+ If filter List is empty, will return all fields
available in vcards. And this is the default behavior.
+ filter : { "VERSION" | "FN" | ... | "ALL" | "bit[0-63]" }
+
+ Full list of the available filters can be retrived by
+ ListAllFilters.
+
+ "ALL" will set the internal filter to 0xFFFFFFFF, and "bitxx" will
+ set the corresponding bit, this will allow advanced user to set
+ proprietary bits according to their needs.
+
+ void Removefilter(string filter)
+
+ Remove the field from the filter list
+
+ filter : See AddFilter
+
array{string} ListAllFilters()
- Return All Available fields that can be used in SetFilter method.
+ Return All Available fields that can be used in AddFilter /
+ RemoveFilter method.
array{string} GetFilters()