NFC Message
This class representative NFC Message object
In order to use this API you must include the following extension in your build.yml
extensions: ["nfc"]
If you are building a Windows Mobile or Windows CE app with this API, you must set your app_type as “rhoelements” in your build.yml as shown here. |
Add new Smart Poster message to the message.
Parameters
Added Message object ID.
Synchronous Return:
Method Access:
myObject.addMessage(STRING messageID)
Add new Record to Message.
Parameters
Added Record object ID.
Synchronous Return:
Method Access:
myObject.addRecord(STRING recordID)
Release NFC resources.
Synchronous Return:
Method Access:
myObject.close()
Creates message object.
Synchronous Return:
Created Message object.
Method Access:
Rho.Message.create()
Rho::Message.create()
Returns Message as byte array.
Synchronous Return:
Message to get.
Method Access:
myObject.getContent()
This function returns Message object.
Parameters
Message object ID.
Synchronous Return:
“self” instance of the Message object.
Method Access:
Rho.Message.getMessageById(STRING id)
Rho::Message.getMessageById(STRING id)
Return array of Smart Poster Message objects.
Synchronous Return:
Array of Rho.NFC.Message objects.
Method Access:
myObject.getMessages()
Return array of Record objects.
Synchronous Return:
Array of Rho.NFC.Record objects.
Method Access:
myObject.getRecords()
Object ID.
Property Access:
myObject.ID