NfcAdapter.ICreateNdefMessageCallback.CreateNdefMessage(NfcEvent) Method

Definition

Caution

deprecated

Called to provide a NdefMessage to push.

[Android.Runtime.Register("createNdefMessage", "(Landroid/nfc/NfcEvent;)Landroid/nfc/NdefMessage;", "GetCreateNdefMessage_Landroid_nfc_NfcEvent_Handler:Android.Nfc.NfcAdapter/ICreateNdefMessageCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public Android.Nfc.NdefMessage? CreateNdefMessage (Android.Nfc.NfcEvent? e);
[<Android.Runtime.Register("createNdefMessage", "(Landroid/nfc/NfcEvent;)Landroid/nfc/NdefMessage;", "GetCreateNdefMessage_Landroid_nfc_NfcEvent_Handler:Android.Nfc.NfcAdapter/ICreateNdefMessageCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member CreateNdefMessage : Android.Nfc.NfcEvent -> Android.Nfc.NdefMessage

Parameters

e
NfcEvent

NfcEvent with the NfcAdapter field set

Returns

NdefMessage
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to