net.rim.device.api.io.nfc
Interface NFCFieldListener


public interface NFCFieldListener

Receives notifications when an emulated target detects changes in the NFC field.

Since:
BlackBerry API 7.0.0

Field Summary
static int FIELD_NOT_PRESENT
          NFC field event indicating that field is not present any more.
static int FIELD_PRESENT
          NFC field event indicating that field is present.
 
Method Summary
 void onFieldChanged(int fieldEvent)
          Invoked by device when NFC field presence has changed.
 



Field Detail

FIELD_PRESENT

static final int FIELD_PRESENT
NFC field event indicating that field is present.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0

FIELD_NOT_PRESENT

static final int FIELD_NOT_PRESENT
NFC field event indicating that field is not present any more.

See Also:
Constant Field Values
Since:
BlackBerry API 7.0.0


Method Detail

onFieldChanged

void onFieldChanged(int fieldEvent)
Invoked by device when NFC field presence has changed.

Parameters:
fieldEvent - FIELD_PRESENT or FIELD_NOT_PRESENT
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