Getresponsetype, Gettagvalue, Gettlvversion – MagTek Audio Reader for Android Devices User Manual

Page 24: Gettrackdecodestatus

Advertising
background image

18

Parameters

Return Value

String representing response data

getResponseType

Retrieves response type
-

public String getResponseType()


Parameters

Return Value

String representing response type. For Audio Reader, always “C101”.

getTagValue

Retrieves the value of the specified tag
-

public String getTagValue(String lpstrTag, String lpstrResponse)


Parameters

lpstrTag

tag to search for

lpstrResponse

data to search for that the tag contains

Return Value

String representing tag value

getTLVVersion

Retrieves TLV version
-

public String getTLVVersion()


Parameters

Return Value

String representing TLV version as a two-byte hex string.

getTrackDecodeStatus

Retrieves track decode status. This is a one-byte value, which indicates the status of decoding
track 1. Bit position zero indicates if there was an error decoding track 1 if the bit is set to one.
If it is zero, then no error occurred. If a track has data on it that is not noise, and it is not
decodable, then a decode error is indicated. If a decode error is indicated, the corresponding

Advertising