From: Samuel Ortiz Date: Tue, 16 Jul 2013 09:15:19 +0000 (+0200) Subject: doc: Document the Push method dictionary content X-Git-Tag: 0.13~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d11e6af4bae4ffb5d543065706d9bc813b534c04;p=platform%2Fupstream%2Fneard.git doc: Document the Push method dictionary content --- diff --git a/doc/device-api.txt b/doc/device-api.txt index 09297cd..3430bf0 100644 --- a/doc/device-api.txt +++ b/doc/device-api.txt @@ -16,10 +16,25 @@ Method dict GetProperties() Creates an NDEF record from the attributes dictionary. - 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. + The attributes argument should at least contain a + record type. The rest of the attributes dictionary + depends on the record type: + + ----------------------------------------------------- + | Type | Additional dictionary keys | + ----------------------------------------------------- + | Text | Encoding, Language, Representation | + ----------------------------------------------------- + | URI | URI | + ----------------------------------------------------- + | SmartPoster | URI | + ----------------------------------------------------- + | Handover | Carrier (wifi or/and bluetooth) | + ----------------------------------------------------- + | StaticHandover | Carrier (wifi or/and bluetooth) | + ----------------------------------------------------- + | MIME | MIME, Payload (optional) | + ----------------------------------------------------- Possible Errors: org.neard.Error.PermissionDenied org.neard.Error.InvalidArguments