5 Interface org.neard.Tag
6 Object path [variable prefix]/{nfc0}/{tag0, tag1...}
8 Method dict GetProperties()
10 Returns all properties for the device. See the
11 properties section for available properties.
13 Possible Errors: org.neard.Error.DoesNotExist
15 void SetProperty(string name, variant value)
17 Changes the value of the specified property. Only
18 properties that are listed a read-write are changeable.
19 On success this will emit a PropertyChanged signal.
21 Possible Errors: org.neard.Error.DoesNotExist
22 org.neard.Error.InvalidArguments
24 void Write(dict attributes)
26 Creates an NDEF record from the attributes dictionary.
28 The attribute argument should at least contain a
29 record type and is described by the Record properties.
30 For example, one would add a type, a Language, an
31 Encoding and a Representation for a text record.
33 Possible Errors: org.neard.Error.PermissionDenied
34 org.neard.Error.InvalidArguments
35 org.neard.Error.InProgress
38 Signals PropertyChanged(string name, variant value)
40 This signal indicates a changed value of the given
44 Properties string Type [readonly]
47 Possible values are "Type 1", "Type 2", "Type 3",
48 "Type 4" and "NFC-DEP"
50 string Protocol [readonly]
52 The tag radio protocol.
53 Possible values are "Felica", "MIFARE", "Jewel",
56 array{object} Records [readonly]
58 List of NDEF records object paths.
60 boolean ReadOnly [readonly]
62 Give the current status of tag's read mode
69 Interface org.neard.Record
70 Object path [variable prefix]/{nfc0}/{tag0|device}/{record0,record1,...}
72 Method dict GetProperties()
74 Returns all properties for the record. Each record
75 has it's type and properties.
77 If type has "Text", possible properties are "Encoding",
78 "Language" and "Representation".
80 See the properties section for available properties.
82 Possible Errors: org.neard.Error.DoesNotExist
84 Properties string Type [readonly]
86 The NDEF record type name.
88 Possible values are "SmartPoster", "Text", "URI",
89 "HandoverRequest", "HandoverSelect", "HandoverCarrier".
91 string Encoding [readonly]
93 The character encoding.
95 Possible values are "UTF-8" or "UTF-16".
96 This property is only valid for Text and SmartPoster's
99 string Language [readonly]
101 The ISO/IANA language code (For example "en" or "jp").
103 This property is only valid for Text and SmartPoster's
106 string Representation [readonly]
108 The human readable representation of a text or
111 This property is only valid for Text and SmartPoster's
114 string URI [readonly]
116 The record URI (for example https://nfc-forum.org).
118 This is the complete URI, including the scheme and
120 This property is only valid for SmartPoster's URI
123 string MIMEType [readonly]
125 The URI object MIME type.
127 This is a description of the MIME type of the object
129 This is not a mandatory field and is only valid for
130 Smart Posters carrying a URI record.
132 uint32 Size [readonly]
136 This is the size of the object the URI points at.
137 It should be used by applications to decide if they can
138 afford to fetch the object or not.
139 This is not a mandatory field and is only valid for
140 Smart Posters carrying a URI record.
142 string Action [readonly]
144 The suggested course of action.
146 This one is only valid for Smart Posters and is a
147 suggestion only. It can be ignored, and the possible
148 values are "Do" (for example launch the browser),
149 "Save" (for example save the URI in the bookmarks
150 folder, or "Edit" (for example open the URI in an URI
151 editor for the user to modify it.
153 string AndroidPackage [readonly]
155 This is the Android Package Name contained in an
156 Android Application Record (AAR). It hints the reader
157 towards launching an Android specific application.
159 It is only valid for AAR NDEFs.