All pages
Powered by GitBook
1 of 1

Loading...

MTSCRA Delegate Methods 5.1 - 5.10

5.1 trackDataReadyNotification

The SDK sends this notification when card data is available from the device.

5.2 devConnectionNotification

The SDK sends this notification when the connection status of the device changes.

5.3 onDataReceived

Return a card object type with card swipe data.

Parameter

Description

cardDataObj

Card swipe has started.

Card swipe got an error during transmission.

Device connection changed whether from close to open or vice versa.

Bluetooth LE Reader was connected.

Bluetooth LE Reader was disconnected.

Bluetooth LE Reader was discovered.

Bluetooth LE state changed. Enumerated possible values that would arrive via this delegate are:

MTCardData object

instance

Instance ID

Parameter

Description

instance

Instance ID

Parameter

Description

deviceType

MTSCRADeviceType object

connected

Boolean for connection state. True = Connected

False = Not connected

instance

Instance ID

Parameter

Description

peripheral

CBPeripheral object

Parameter

Description

connectionInfo

MTConnectionInfo object

Parameter

Description

state

MTSCRABLEState

5.4 cardSwipeDidStart

5.5 cardSwipeDidGetTransError

5.6 onDeviceConnectionDidChange

5.7 bleReaderConnected

5.8 bleReaderDidDisconnected

5.9 bleReaderDidDiscoverPeripheral

5.10 bleReaderStateUpdated