diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-10-04 21:02:32 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-10-20 23:54:06 -0700 |
commit | 68bc9488ff734ec6e18d2420efc1a292a2dc77e4 (patch) | |
tree | 4172edfe74a6be59869060f86e33fecec443d9e6 | |
parent | 706df08f5ed6d32180fc5fe3514f215804032fa9 (diff) | |
download | neard-68bc9488ff734ec6e18d2420efc1a292a2dc77e4.tar.gz neard-68bc9488ff734ec6e18d2420efc1a292a2dc77e4.tar.bz2 neard-68bc9488ff734ec6e18d2420efc1a292a2dc77e4.zip |
doc: Record addition and deletion to the target API
-rw-r--r-- | doc/target-api.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/target-api.txt b/doc/target-api.txt index e4afe11..3b802b8 100644 --- a/doc/target-api.txt +++ b/doc/target-api.txt @@ -21,6 +21,28 @@ Method dict GetProperties() Possible Errors: org.neard.Error.DoesNotExist org.neard.Error.InvalidArguments + object path AddRecord(string type) + + Creates and add an NDEF record to the record array. + The type argument specifies the record type that + needs to be created. + + Possible values for type are "SmartPoster", "Text", + "URI", "HandoverRequest", "HandoverSelect" and + "HandoverCarrier". + + The record object path will be returned for + applications to configure it properly. + + Possible Errors: org.neard.Error.PermissionDenied + org.neard.Error.InvalidArguments + + void RemoveRecord(object path) + + Removes an NDEF record from the record array. + + Possible Errors: org.neard.Error.DoesNotExist + Signals PropertyChanged(string name, variant value) This signal indicates a changed value of the given |