net.rim.device.api.io.nfc.emulation
Interface VirtualNDEFTagCallback


public interface VirtualNDEFTagCallback

Callback interface for NFC reader events triggered by external NFC reader interacting with a VirtualNDEFTag.

Since:
BlackBerry API 7.0.0

Field Summary
static int EMULATION_STOPPED
          Emulation stopped, either by the application or because the application was switched into the background.
static int READER_LEFT
          The external reader moved out of range without reading or writing data on the virtual NFC target.
static int SELECTED
          An external reader connected to the virtual NFC target.
static int TARGET_READ
          An external reader read data from the virtual NFC target.
static int TARGET_UPDATED
          An external reader updated the data on the virtual NFC target.
 
Method Summary
 void onVirtualTargetEvent(int targetEvent)
          Invoked by the platform when an NFC target emulation event occurs.
 



Field Detail

SELECTED

static final int SELECTED
An external reader connected to the virtual NFC target.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

TARGET_READ

static final int TARGET_READ
An external reader read data from the virtual NFC target.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

TARGET_UPDATED

static final int TARGET_UPDATED
An external reader updated the data on the virtual NFC target.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

READER_LEFT

static final int READER_LEFT
The external reader moved out of range without reading or writing data on the virtual NFC target.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

EMULATION_STOPPED

static final int EMULATION_STOPPED
Emulation stopped, either by the application or because the application was switched into the background.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0


Method Detail

onVirtualTargetEvent

void onVirtualTargetEvent(int targetEvent)
Invoked by the platform when an NFC target emulation event occurs.

Parameters:
targetEvent - The NFC target emulation event.
Since:
BlackBerry API 7.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal