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
          The emulation was stopped, either explicitly 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 virtual NFC target data.
static int SELECTED
          Virtual NFC target was selected by an external reader.
static int TARGET_READ
          Virtual NFC target data was read by an external reader.
static int TARGET_UPDATED
          Virtual NFC target data was updated by the external reader.
 
Method Summary
 void onVirtualTargetEvent(int targetEvent)
          Invoked by the platform when an NFC target emulation event occurs.
 



Field Detail

SELECTED

static final int SELECTED
Virtual NFC target was selected by an external reader.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

TARGET_READ

static final int TARGET_READ
Virtual NFC target data was read by an external reader.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

TARGET_UPDATED

static final int TARGET_UPDATED
Virtual NFC target data was updated by the external reader.

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 virtual NFC target data.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

EMULATION_STOPPED

static final int EMULATION_STOPPED
The emulation was stopped, either explicitly 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