Retrieve the unique domain ID for the NFC service.
#include <nfc/nfc_bps.h>
NFC_API int nfc_get_domain()
BlackBerry 10.0.0
This function retrieves the unique domain ID for the NFC service. Use this function in your application to determine whether an event that you retrieve is an NFC event and then respond accordingly.
You use the bps_get_event() function from the BPS library to retrieve the event.
The domain ID for the NFC service upon success, BPS_FAILURE otherwise.