/**@class android.nfc.tech.NfcV @extends android.nfc.tech.BasicTagTechnology Provides access to NFC-V (ISO 15693) properties and I/O operations on a {@link Tag}. <p>Acquire a {@link android.nfc.tech.NfcV} object using {@link #get}. <p>The primary NFC-V I/O operation is {@link #transceive}. Applications must implement their own protocol stack on top of {@link #transceive}. <p class="note"><strong>Note:</strong> Methods that perform I/O operations require the {@link android.Manifest.permission#NFC} permission. */ var NfcV = { /**@hide */ EXTRA_RESP_FLAGS : "respflags", /**@hide */ EXTRA_DSFID : "dsfid", /**Get an instance of {@link android.nfc.tech.NfcV} for the given tag. <p>Returns null if {@link android.nfc.tech.NfcV} was not enumerated in {@link Tag#getTechList}. This indicates the tag does not support NFC-V. <p>Does not cause any RF activity and does not block. @param {Object {Tag}} tag an NFC-V compatible tag @return {Object {android.nfc.tech.NfcV}} NFC-V object */ get : function( ) {}, /**Return the Response Flag bytes from tag discovery. <p>Does not cause any RF activity and does not block. @return {Number} Response Flag bytes */ getResponseFlags : function( ) {}, /**Return the DSF ID bytes from tag discovery. <p>Does not cause any RF activity and does not block. @return {Number} DSF ID bytes */ getDsfId : function( ) {}, /**Send raw NFC-V commands to the tag and receive the response. <p>Applications must not append the CRC to the payload, it will be automatically calculated. The application does provide FLAGS, CMD and PARAMETER bytes. <p>Use {@link #getMaxTransceiveLength} to retrieve the maximum amount of bytes that can be sent with {@link #transceive}. <p>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 {@link IOException} if {@link #close} is called from another thread. <p class="note">Requires the {@link android.Manifest.permission#NFC} permission. @param {Object {byte[]}} data bytes to send @return {Number} bytes received in response @throws TagLostException if the tag leaves the field @throws IOException if there is an I/O failure, or this operation is canceled */ transceive : function( ) {}, /**Return the maximum number of bytes that can be sent with {@link #transceive}. @return {Number} the maximum number of bytes that can be sent with {@link #transceive}. */ getMaxTransceiveLength : function( ) {}, };