summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2012-04-20 20:07:53 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-04-20 20:07:53 +0200
commit49a43c942e32ae6733c3b15b4e6d02cf9bfdd6ff (patch)
tree3010319acc2a7286b6c8b63820a824a7ce2e10a4 /doc
parent61f701d7456a74073de039a6f3f80112978b4b50 (diff)
downloadneard-49a43c942e32ae6733c3b15b4e6d02cf9bfdd6ff.tar.gz
neard-49a43c942e32ae6733c3b15b4e6d02cf9bfdd6ff.tar.bz2
neard-49a43c942e32ae6733c3b15b4e6d02cf9bfdd6ff.zip
adapter: Remove the Publish method
NDEF queueing should be done by upper layers with a more accurate application status knowledge. NDEF are now written to tags with the Tag.Write method. A Device.Push one will also be implemented.
Diffstat (limited to 'doc')
-rw-r--r--doc/adapter-api.txt17
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/adapter-api.txt b/doc/adapter-api.txt
index 23f458d..ecfde6c 100644
--- a/doc/adapter-api.txt
+++ b/doc/adapter-api.txt
@@ -72,23 +72,6 @@ Methods: dict GetProperties()
org.neard.Error.Failed
org.neard.Error.NotSupported
- void Publish(dict attributes)
-
- Creates an NDEF record from the attributes dictionary.
- The NDEF is then queued for publication.
-
- Only the first NDEF on the queue will be written to
- an NFC tag while all of them will be pushed on a peer
- to peer link.
-
- The attribute argument should at least contain a
- record type and is described by the Record properties.
- For example, one would add a type, a Language, an
- Encoding and a Representation for a text record.
-
- Possible Errors: org.neard.Error.PermissionDenied
- org.neard.Error.InvalidArguments
-
Signals PropertyChanged(string name, variant value)