nfc_channel_status_mask_t

This enumeration defines the various status masks for NFC channel status.

Synopsis:

#include <nfc/nfc_types.h>

typedef enum {
      NFC_CHANNEL_STATUS_HARDWARE_PRESENT = (0x1 << 0)   
      NFC_CHANNEL_STATUS_CARRIER_SUPPORTED = (0x1 << 1)   
      NFC_CHANNEL_STATUS_IT_POLICY_ALLOWED = (0x1 << 2)   
      NFC_CHANNEL_STATUS_WIRELESS_CHARGER_ALLOWED = (0x1 << 3)   
} nfc_channel_status_mask_t;

Since:

BlackBerry 10.0.0

Data:

NFC_CHANNEL_STATUS_HARDWARE_PRESENT
Indicates an NFC hardware support type.

The bit is set when device hardware supports NFC.

NFC_CHANNEL_STATUS_CARRIER_SUPPORTED
Indicates a carrier support type.

The bit is set when carrier configuration allows NFC.

NFC_CHANNEL_STATUS_IT_POLICY_ALLOWED
Indicates an IT policy support type.

The bit is set when IT policy allows NFC.

NFC_CHANNEL_STATUS_WIRELESS_CHARGER_ALLOWED
Indicates the NFC status relative to the wireless charging status.

This bit is set when NFC is allowed while the device is not on a wireless charger. When a device is on a wireless charger, the field of the wireless charger disturbs the NFC field, and NFC doesn't work. For devices that are capable of wireless charging, NFC is disabled while a device is on a wireless charger.

Since: BlackBerry 10.3.0

Library:

libnfc (For the qcc command, use the -l nfc option to link against this library)

Description: