|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NDEFPushStatusCallback
Receives results from NDEF push requests.
| Field Summary | ||
|---|---|---|
static int |
DATA_TOO_LARGE
Indicates that the NDEF message is too large for the local or remote device. |
|
static int |
INVALID_DATA
Indicates that an invalid NDEF message was supplied. |
|
static int |
PUSH_ERROR
Indicates that the NDEF message push failed due to I/O or other error. |
|
static int |
REJECTED
Indicates that the NDEF push request was rejected by the remote device. |
|
static int |
SUCCESS
Indicates that the NDEF message was successfully pushed to another device. |
|
| Method Summary | ||
|---|---|---|
void |
onNDEFPushStatusUpdate(NDEFMessage message,
int status)
Invoked after the device pushes an NDEF message over the SNEP protocol, or if error occurs during a push. |
|
| Field Detail |
|---|
static final int SUCCESS
static final int PUSH_ERROR
static final int DATA_TOO_LARGE
static final int INVALID_DATA
static final int REJECTED
| Method Detail |
|---|
void onNDEFPushStatusUpdate(NDEFMessage message,
int status)
message - The NDEF message pushed.status - The push result. One of the following:
NDEFPushStatusCallback.SUCCESSNDEFPushStatusCallback.PUSH_ERRORNDEFPushStatusCallback.DATA_TOO_LARGENDEFPushStatusCallback.INVALID_DATANDEFPushStatusCallback.REJECTED
|
|||||||||
| 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