Added in API level 14
Deprecated in API level 29

NfcAdapter.OnNdefPushCompleteCallback


public static interface NfcAdapter.OnNdefPushCompleteCallback

android.nfc.NfcAdapter.OnNdefPushCompleteCallback


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 NdefMessage to another device.

Summary

Public methods

abstract void onNdefPushComplete(NfcEvent event)

Called on successful NDEF push.

Public methods

onNdefPushComplete

Added in API level 14
public abstract void onNdefPushComplete (NfcEvent event)

Called on successful NDEF push.

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

Parameters
event NfcEvent: NfcEvent with the NfcEvent.nfcAdapter field set