NfcShareStartTransferMode

Since: BlackBerry 10.2.0

#include <bb/system/NfcShareStartTransferMode>

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

The list of supported modes for starting NFC Transfer.


Overview

Public Types Index

enum Type

OnTap = 0, OnDemand = 1

Public Types

Type

The list of supported modes for starting NFC Transfer.

OnTap = 0

The transfer of specified NFC Share Content is performed automatically, when user taps another NFC enabled device or NFC tag.

OnDemand = 1

The transfer of specified NFC Share Content is performed when developer calls bb::system::NfcShareManager::startTransfer().

Note:

This mode allows developer to set a content to share after user taps another NFC enabled device, not before as in "onTap" mode. This mode might be useful when developer doesn't want to allocate resources to share in advance, when it is not clear if user would ever use NFC Share functionality at all.

Last modified: 2014-03-13

comments powered by Disqus