Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 29](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# NfcAdapter.OnNdefPushCompleteCallback

*** ** * ** ***

` public static interface NfcAdapter.OnNdefPushCompleteCallback `   
` `

|---|
| android.nfc.NfcAdapter.OnNdefPushCompleteCallback |

<br />

*** ** * ** ***

<br />

**This interface was deprecated in API level 29.**   

this feature is removed. File sharing can work using other technology like Bluetooth.

A callback to be invoked when the system successfully delivers your `https://developer.android.com/reference/android/nfc/NdefMessage` to another device.

## Summary

| ### Public methods ||
|---|---|
| ` abstract void` | ` https://developer.android.com/reference/android/nfc/NfcAdapter.OnNdefPushCompleteCallback#onNdefPushComplete(android.nfc.NfcEvent)(https://developer.android.com/reference/android/nfc/NfcEvent event) ` Called on successful NDEF push. |

## Public methods

### onNdefPushComplete

Added in [API level 14](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void onNdefPushComplete (NfcEvent event)
```

Called on successful NDEF push.

This callback is usually made on a binder thread (not the UI thread).

<br />

| Parameters ||
|---|---|
| `event` | `NfcEvent`: `https://developer.android.com/reference/android/nfc/NfcEvent` with the `https://developer.android.com/reference/android/nfc/NfcEvent#nfcAdapter` field set <br /> |