Android.Nfc.Tech.NfcF.Transceive Method
Send raw NFC-F commands to the tag and receive the response.

Syntax

[Android.Runtime.Register("transceive", "([B)[B", "")]
public byte[] Transceive (byte[] p0)

Parameters

data
bytes to send

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
!:NoType:if the tag leaves the field
Java.IO.IOExceptionif there is an I/O failure, or this operation is canceled

Remarks

Send raw NFC-F commands to the tag and receive the response.

Applications must not append the SoD (length) or EoD (CRC) to the payload, it will be automatically calculated.

Use NfcF.MaxTransceiveLength to retrieve the maximum amount of bytes that can be sent with NfcF.Transceive(Byte[]).

This is an I/O operation and will block until complete. It must not be called from the main application thread. A blocked call will be canceled with Java.IO.IOException if NfcF.Close is called from another thread.

Requires the NoType:android/Manifest$permission;Href=../../../../reference/android/Manifest.permission.html#NFC permission.

[Android Documentation]

Requirements

Namespace: Android.Nfc.Tech
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 10