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.

Since:

BlackBerry 10.0.0

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 NFC target detected

Since:

BlackBerry 10.0.0

File = 2

The device can share files with another NFC-enabled device using Bluetooth.

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 to push data from one NFC enabled device to another NFC device. The receiving device must have SNEP supported as well.

Since:

BlackBerry 10.2.0

Last modified: 2014-03-13

comments powered by Disqus