Android.Nfc.Tech.NfcB.Transceive Method
Send raw NFC-B 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-B commands to the tag and receive the response.

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

Applications must not send commands that manage the polling loop and initialization (SENSB_REQ, SLOT_MARKER etc).

Use NfcB.MaxTransceiveLength to retrieve the maximum number of bytes that can be sent with NfcB.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 NfcB.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