Getcardiin, Getcardlast4, Getcardname – MagTek Audio Reader for Android Devices User Manual

Page 19

Advertising
background image

13

Note: The data returned is dependent on the partial information provided by the reader. If the
reader supports emitting partial data for the fields below, the SDK will provide them as is. If the
reader supports masking, the SDK will retrieve the information from the masked tracks supplied
by the reader.

getCardIIN

Retrieves IIN from card data
-

public String getCardIIN()


Parameters

Return Value

String representing card IIN


Note: The data returned is dependent on the partial information provided by the reader. If the
reader supports emitting partial data for the fields below, the SDK will provide them as is. If the
reader supports masking, the SDK will retrieve the information from the masked tracks supplied
by the reader.

getCardLast4

Retrieves Last 4 digits of card number from card data
-

public String getCardLast4()


Parameters

Return Value

String representing card last 4


Note: The data returned is dependent on the partial information provided by the reader. If the
reader supports emitting partial data for the fields below, the SDK will provide them as is. If the
reader supports masking, the SDK will retrieve the information from the masked tracks supplied
by the reader.

getCardName

Retrieves card name from card data
-

public String getCardName()


Parameters

Return Value

String representing card name

Advertising