Added in API level 14
Deprecated in API level 29

OnNdefPushCompleteCallback

interface OnNdefPushCompleteCallback
android.nfc.NfcAdapter.OnNdefPushCompleteCallback

A callback to be invoked when the system successfully delivers your NdefMessage to another device.

Summary

Public methods
abstract Unit

Called on successful NDEF push.

Public methods

onNdefPushComplete

Added in API level 14
abstract fun onNdefPushComplete(event: NfcEvent!): Unit

Deprecated: Deprecated in Java.

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