|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NFCFieldListener
Receives notifications when an emulated target detects changes in the NFC field.
Note that when two devices negotiate an LLCP connection, they take
turns generating an RF field. Immediately prior to the connection being established,
the device generating the field reports a FIELD_NOT_PRESENT event.
The other device reports a FIELD_PRESENT event to indicate that it
can detect an external field. While the connection is established, no additional
field events are generated. NFC field events may resume when there are no
LLCP connections in progress.
| 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 |
|---|
static final int FIELD_PRESENT
static final int FIELD_NOT_PRESENT
| Method Detail |
|---|
void onFieldChanged(int fieldEvent)
fieldEvent - FIELD_PRESENT or FIELD_NOT_PRESENT
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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