|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DetectionListener
Receives notifications when a connection to an NFC target is detected.
| Method Summary | ||
|---|---|---|
void |
onTargetDetected(Target target)
Invoked when a connection to an NFC target is detected. |
|
| Method Detail |
|---|
void onTargetDetected(Target target)
Connection.open(target.getUri(Target.NDEF_TAG));
Make sure that any communication with the Target occurs on
the main event loop. The BlackBerry® device closes the connection to
the Target when the onTargetDetected method finishes.
target - An NFC target.
|
|||||||||
| 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