The NdefTextRecord element represents an NFC RTD-Text NDEF record. More...
Inherits NdefRecord
This element was introduced in Mobility 1.2.
The NdefTextRecord element is part of the QtMobility.connectivity 1.2 module.
The NdefTextRecord element contains a localized piece of text that can be display to the user. An NDEF message may contain many text records for different locales, it is up to the application to select the most appropriate one to display to the user. The localeMatch property can be used to determine if the text record has been matched.
See also QNdefNfcTextRecord.
locale : string |
This property holds the locale that this text record is for.
This property group was introduced in Mobility 1.2.
localeMatch : enumeration |
This property holds an enum describing how closely the locale of the text record matches the applications current locale. The application should display only the text record that most closely matches the applications current locale.
Value | Description |
---|---|
LocaleMatchedNone | The text record does not match at all. |
LocaleMatchedEnglish | The language of the text record is English and the language of application's current locale is not English. The English language text should be displayed if there is not a more appropriate match. |
LocaleMatchedLanguage | The language of the text record and the language of the applications's current locale are the same. |
LocaleMatchedLanguageAndCountry | The language and country of the text record matches that of the applicatin's current locale. |
This property group was introduced in Mobility 1.2.
text : string |
This property holds the text which should be displayed when the current locale matches locale.
This property group was introduced in Mobility 1.2.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.