NfcShareMode

Since: BlackBerry 10.0.0

#include <bb/system/NfcShareMode>

To link against this class, add the following line to your .pro file: LIBS += -lbbsystem

The list of supported NFC share modes.


Overview

Public Types Index

enum Type

Disabled = 0, Data = 1, File = 2, DataTagWrite = 3, DataSnep = 4

Public Types

Type

The list of supported NFC share modes.

Since:

BlackBerry 10.0.0

Disabled = 0

NFC sharing is disabled on the device.

Data = 1

The device can share data with another NFC-enabled device or write to an NFC tag.

Method of sharing is selected automatically based on the NFC target detected.

Since:

BlackBerry 10.0.0

File = 2

The device can share files with another NFC-enabled device using Bluetooth or WiFi Direct transports.

Since:

BlackBerry 10.0.0

DataTagWrite = 3

The device can write to an NFC tag.

Since:

BlackBerry 10.2.0

DataSnep = 4

The device can share data with another NFC-enabled device via Simple NDEF Exchange Protocol (SNEP).

SNEP is a standard NFC peer-to-peer protocol that allows data to be pushed from one NFC-enabled device to another NFC-enabled device. The sending and receiving device must both support SNEP.

Since:

BlackBerry 10.2.0

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus