NFC
NFC.setLaunchApp()
On Android devices, it's possible to set an app (by its android package name) to launch when the tag is read.
// PROTOTYPE
int setLaunchApp(const char* androidPackageName);
Note that all of the set options are mutually exclusive. Calling NFC.setLaunchApp()
will clear any NFC.setText()
, NFC.setUri()
, etc..
This does not do anything on iOS. An NFC-aware iOS app can read the package name, but in general won't be able to do much with it.