Section 1. magtekscra class – MagTek Audio Reader for Android Devices User Manual
Page 7
1
SECTION 1. MagTekSCRA CLASS
Methods:
openDevice:
Open device
closeDevice:
Close device
isDeviceConnected
Check the connection status of reader
getMaskedTracks
Retrieves the existing stored masked track data
getTrack1
Retrieves encrypted track1
getTrack2
Retrieves encrypted track2
getTrack3
Retrieves encrypted track3
getTrack1Masked
Retrieves masked track1
getTrack2Masked
Retrieves masked track2
getTrack3Masked
Retrieves masked track3
getMagnePrint
Retrieves encrypted MagnePrint
getMagnePrintStatus
Retrieves encrypted MagnePrintStatus
getDeviceSerial
Retrieves device serial number
getSessionID
Retrieves session ID
getKSN
Retrieves key serial number
getDeviceName
Get the associated name of the Bluetooth Device
setDeviceType
Set the type of device (Bluetooth or Audio)
setDeviceID
Set device identifier for the Bluetooth device
clearBuffers
Clears library buffers
getBatteryLevel
Retrieves battery level
getCapMagnePrint
Retrieves MagnePrint Capabilities
getCapMagnePrintEncryption
Retrieves MagnePrint Encryption Capabilities
getCapMagneSafe20Encryption Retrieves MagneSafe 2.0 Encryption Capabilities
getCapMagStripeEncryption
Retrieves MagStripe Encryption Capabilities
getCapMSR
Retrieves MSR Capabilities
getCapTracks
Retrieves Track Capabilities
getCardDataCRC
Retrieves CRC
getCardExpDate
Retrieves expiration date
getCardIIN
Retrieves IIN
getCardLast4
Retrieves last 4 digits of the card number
getCardName
Retrieves card name
getCardPANLength
Retrieves PAN length
getCardServiceCode
Retrieves service code
getCardStatus
Retrieves status
getDataFieldCount
Retrieves field count
getDeviceConfig
Retrieves device configuration
getDeviceType
Retrieves device type
getEncryptionStatus
Retrieves encryption status
getFirmware
Retrieves firmware version
getMagTekDeviceSerial
Retrieves MagTek device serial number
getOperationStatus
Retrieves operation status
getPANHashSHA1
Retrieves SHA1 PAN hash
getPANHashSHA256
Retrieves SHA256 PAN hash
getResponseData
Retrieves response data
getResponseType
Retrieves response type
Classes
Description
MagTekSCRA
This class allows you to perform reader functions.