For the complete documentation index, see llms.txt. This page is also available as Markdown.
Page cover

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

MTCardData object

instance

Instance ID

5.4 cardSwipeDidStart

Card swipe has started.

Parameter

Description

instance

Instance ID

5.5 cardSwipeDidGetTransError

Card swipe got an error during transmission.

5.6 onDeviceConnectionDidChange

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

Parameter

Description

deviceType

MTSCRADeviceType object

connected

Boolean for connection state. True = Connected

False = Not connected

instance

Instance ID

5.7 bleReaderConnected

Bluetooth LE Reader was connected.

Parameter

Description

peripheral

CBPeripheral object

5.8 bleReaderDidDisconnected

Bluetooth LE Reader was disconnected.

Parameter

Description

connectionInfo

MTConnectionInfo object

5.9 bleReaderDidDiscoverPeripheral

Bluetooth LE Reader was discovered.

5.10 bleReaderStateUpdated

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

Parameter

Description

state

MTSCRABLEState

Last updated