This enumeration defines event codes for the various NFC events.
#include <nfc/nfc_types.h>
typedef enum {
NFC_SNEP_CONNECTION_EVENT = 1
NFC_TAG_READWRITE_EVENT = 2
NFC_HANDOVER_DETECTED_EVENT = 3
NFC_HANDOVER_COMPLETE_EVENT = 4
NFC_LLCP_CONNECTION_EVENT = 5
NFC_OFF_EVENT = 6
NFC_ON_EVENT = 7
NFC_FIELD_LOST_EVENT = 8
NFC_FIELD_DETECTED_EVENT = 9
NFC_VIRTUAL_TAG_SELECTION_EVENT = 10
NFC_VIRTUAL_TAG_LEFT_EVENT = 11
NFC_VIRTUAL_TAG_READ_EVENT = 12
NFC_VIRTUAL_TAG_WRITE_EVENT = 13
NFC_NDEF_PUSH_SUCCEED_EVENT = 20
NFC_NDEF_PUSH_FAILURE_MSG_OVER_SIZE_EVENT = 21
NFC_NDEF_PUSH_FAILURE_REJECTED_EVENT = 22
NFC_NDEF_PUSH_FAILURE_IO_ERROR_EVENT = 23
NFC_NDEF_PUSH_FAILURE_VERSION_MISMATCH_EVENT = 24
NFC_HANDOVER_FAILURE_NO_TRANSPORT_EVENT = 30
NFC_HANDOVER_FAILURE_VERSION_MISMATCH_EVENT = 31
NFC_HANDOVER_FAILURE_DURING_VERSION_NEGOTIATION_EVENT = 33
NFC_ISO14443_4_COMMAND_EVENT = 40
NFC_ISO14443_4_EVENT_CODE_EVENT = 41
NFC_LLCP_READ_COMPLETE_EVENT = 42
NFC_LLCP_WRITE_COMPLETE_EVENT = 43
NFC_CE_ENABLE_BACKLIGHT_OFF_EVENT = 44
NFC_CE_ENABLE_POWERED_OFF_EVENT = 45
NFC_CE_DISABLE_BACKLIGHT_OFF_EVENT = 46
NFC_CE_DISABLE_POWERED_OFF_EVENT = 47
NFC_CE_SET_UICC_ACTIVE_SE_TYPE_EVENT = 48
NFC_TARGET_LOST_EVENT = 49
NFC_SETTING_ENABLED_ASYNC_EVENT = 50
NFC_CHANNEL_ERROR_EVENT = 60
} nfc_event_type_t;
BlackBerry 10.0.0
You can retrieve the target by calling nfc_get_target().
You can retrieve the target by calling nfc_get_target().
The application retrieves the target by calling nfc_get_target() and informs the NFC system whether the application wants to proceed with the handover or ignore the target.
You can call the nfc_get_target() function to retrieve handover details from the target containing connection handover details.
You can call the nfc_get_target() function to retrieve the LLCP connection.
No further NFC events will be delivered.
No value is returned as part of this event.
No value is returned as part of this event.
No value is returned as part of this event.
No value is returned as part of this event.
Feature set 2 does not support this event.
No value is returned as part of this event.
No value is returned as part of this event.
This event has been defined for the sake of completeness. Since NDEF tags are emulated only in read-only mode, it is not possible to write to an emulated NDEF tag; hence this event will never be sent to the client.
No value is returned as part of this event.
No value is returned as part of this event.
No value is returned as part of this event.
No value is returned as part of this event.
No value is returned as part of this event.
Since: BlackBerry 10.2.0
No value is returned as part of this event.
Since: BlackBerry 10.2.0
This means that the request message was either not received or not valid.
No value is returned as part of this event.
Since: BlackBerry 10.3.0
You can retrieve the target by calling nfc_get_target().
You can retrieve the target by calling nfc_get_target().
You can retrieve the target by calling nfc_get_target().
Use the nfc_get_notification_value() function to retrieve the target connection id.
Since: BlackBerry 10.2.0
Since: BlackBerry 10.3.0
The nfc_get_target() function and the nfc_get_notification_value() function will return NFC_RESULT_INVALID_PARAMETER if called with an event code that is not associated with a corresponding value.