Android.Nfc.Tech.IsoDep.Transceive Method
Send raw ISO-DEP data to the tag and receive the response.

Syntax

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

Parameters

data
command bytes to send, must not be null

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 ISO-DEP data to the tag and receive the response.

Applications must only send the INF payload, and not the start of frame and end of frame indicators. Applications do not need to fragment the payload, it will be automatically fragmented and defragmented by IsoDep.Transceive(Byte[]) if it exceeds FSD/FSC limits.

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