|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.io.nfc.push.NDEFPushManager
public class NDEFPushManager
Registers listeners for NDEF push messages.
| Method Summary | ||
|---|---|---|
void |
cancelNDEFPush(int pushID)
Removes an NDEF push request registration. |
|
static NDEFPushManager |
getInstance()
Retrieves the system instance of NDEFPushManager, which
provides access to the NDEF push feature of the API. |
|
int |
pushNDEF(NDEFMessageBuilder ndefMessageBuilder,
NDEFPushStatusCallback statusCallback)
Registers an NDEF push request. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NDEFPushManager getInstance()
throws NFCException
NDEFPushManager, which
provides access to the NDEF push feature of the API.
NDEFPushManager.
SecurityException - If NFC is disabled by an IT policy.
ControlledAccessException - If NFC is disabled by application permissions.
NFCException - If an exception occurs while retrieving the instance.
public int pushNDEF(NDEFMessageBuilder ndefMessageBuilder,
NDEFPushStatusCallback statusCallback)
ndefMessageBuilder - The NDEFMessageBuilder to build NDEF messages.statusCallback - The NDEFPushStatusCallback to receive notification of push status.
public void cancelNDEFPush(int pushID)
pushID - The registration ID to be removed.
|
|||||||||
| 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