Listenforevents, Getdevicetype, Getcardpanlength – MagTek SCRA Reader User Manual

Page 16: Getresponsedata, Getcardname

Advertising
background image

10

listenForEvents

Setup the events to listen for

- (

void

) setDeviceProtocolString: (

UInt32

*)event


Parameters

Event


Return Value

getDeviceType

Retrieves the Device Type

- (

int

) getDeviceType

Parameters

Return Value

Device Type


getCardPANLength

Retrieves the Length of teh PAN

- (

int

) getCardPANLength

Parameters


Return Value

Card PAN Length


getResponseData

Retrieves the whole Response from the reader

- (

NSString *

) getResponseData

Parameters

Return Value

Response Data

getCardName

Retrieves the Name in the Card

- (

NSString *

) getCardName

Parameters

Return Value

Card Name

Advertising