![Magtek ADYNAMO Programmer'S Reference Manual Download Page 10](http://html1.mh-extra.com/html/magtek/adynamo/adynamo_programmers-reference-manual_3704666010.webp)
3 –MTSCRA Class Methods
aDynamo, uDynamo, Dynamag, DynaMAX, eDynamo, BulleT| Secure Card Reader Authenticator | Programmer’s Reference (Android)
Page 10 of 42 (
D99875728-31
)
3
MTSCRA Class Methods
After creating an instance of the MTSCRA class in your custom software project, use the methods
described in this section to communicate with SCRA device.
3.1
setConnectionType
This method sets the connection type of the device.
public void setConnectionType(MTConnectionType connectionType)
Parameters:
Parameter
Description
connectionType
MTConnectionType value:
MTConnectionType.Audio,
MTConnectionType.BLE,
MTConnectionType.BLEEMV,
MTConnectionType.Bluetooth,
MTConnectionType.USB
The following table shows the connection types supported by the various SCRA devices:
Connection Type
SCRA Device
Note
Audio
aDynamo
uDynamo
BLE
DynaMAX
Supported for Adroid 4.4.2 to
5.1.1
BLEEMV
eDynamo
Supported for Adroid 4.4.2 to
7.1.1.
Bluetooth
BulleT
Card swipe only
USB
BulletT
DynaMag
DynaMAX
eDynamo
Host must support USB On-
The-Go.
Return Value: None
3.2
setConnectionRetry
This function when set to True instructs the SDK to automatically retry to connect to the BLE reader upon
pairing. If set to False, the BLE reader will be disconnected after pairing. This function is set to False by
default in the SDK, but MagTek highly recommends to set this flag to True in your application in order to
make sure that you'll have a successful secure connection between Android OS and BLE reader after the
paring.
public void setConnectionRetry(bool connectionRetry)
Parameters: