read
Reads magnetic stripe card data.
This function attempts to read data from a magnetic stripe card. It returns an br.com.gertec.nexus.domain.msr.model.MsrTracks object containing the data from the tracks if the read is successful. Call getLastError to get specific error details for each track.
Return
br.com.gertec.nexus.domain.msr.model.MsrTracks An object containing the data read from the magnetic stripe card tracks.
Throws
if an error occurs during the read operation (e.g., no card present, read error, timeout).