> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/sdks-and-tools/universal-sdk-documentation/ios/enumerations.md).

# Enumerations

### BarCodeFormat

This enum refers to the type of barcodes to display.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_BARCODE_FORMAT_BLOB</td><td valign="top">Data is binary format</td></tr><tr><td valign="top">MTU_BARCODE_FORMAT_COMMAND</td><td valign="top">Data is a command in binary format</td></tr><tr><td valign="top">MTU_BARCODE_FORMAT_BLOB_BASE64</td><td valign="top">Data is Base64 encoded format</td></tr><tr><td valign="top">MTU_BARCODE_FORMAT_COMMAND_BASE64</td><td valign="top">Data is a command in Base64 format</td></tr></tbody></table>

### BarCodeType <a href="#id-15.2_barcodetype" id="id-15.2_barcodetype"></a>

This enum refers to the type of barcodes to display.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_QRCODE</td><td valign="top">QR code</td></tr></tbody></table>

### CaptureType <a href="#id-15.3_capturetype" id="id-15.3_capturetype"></a>

This enum refers to the type of customer information to capture.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_CaptureType_None</td><td valign="top">Capture unavailable</td></tr><tr><td valign="top">MTU_CaptureType_PhoneNumber</td><td valign="top">Capture phone number</td></tr><tr><td valign="top">MTU_CaptureType_SocialSecurityNumber</td><td valign="top">Capture social security number</td></tr><tr><td valign="top">MTU_CaptureType_ZipCode</td><td valign="top">Capture zip code</td></tr><tr><td valign="top">MTU_CaptureType_EmployeeID</td><td valign="top">Capture Employee ID number</td></tr><tr><td valign="top">MTU_CaptureType_Birthday</td><td valign="top">Capture birth date in USA format</td></tr><tr><td valign="top">MTU_CaptureType_Cancel</td><td valign="top">Capture canceled</td></tr></tbody></table>

### ConnectionState <a href="#id-15.4_connectionstate" id="id-15.4_connectionstate"></a>

This enum refers to the readiness of the SDK to communicate with the device. This is not the physical attachment to a host system.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_ConnectionState_Unknown</td><td valign="top">Device is in an unknown connection state.</td></tr><tr><td valign="top">MTU_ConnectionState_Disconnected</td><td valign="top">Device is disconnected.</td></tr><tr><td valign="top">MTU_ConnectionState_Connecting</td><td valign="top">Device is in the process of connecting. The next state is to be Connected.</td></tr><tr><td valign="top">MTU_ConnectionState_Error</td><td valign="top">There was an error either connecting or disconnecting the device.</td></tr><tr><td valign="top">MTU_ConnectionState_Connected</td><td valign="top">Device is connected and ready for transacting.</td></tr><tr><td valign="top">MTU_ConnectionState_Disconnecting</td><td valign="top">Device is in the process of disconnecting. The next state will is to be Disconnected.</td></tr></tbody></table>

### ConnectionType <a href="#id-15.5_connectiontype" id="id-15.5_connectiontype"></a>

This enum refers to the communication interface type of MagTek reader which the SDK will control.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_ConnectionType_USB (Reserved)</td><td valign="top">USB devices</td></tr><tr><td valign="top">MTU_ConnectionType_BLUETOOTH_LE (Reserved)</td><td valign="top">Bluetooth Low Energy devices: DynaMax</td></tr><tr><td valign="top">MTU_ConnectionType_BLUETOOTH_LE_EMV (Reserved)</td><td valign="top"><p>Bluetooth Low Energy with EMV supported devices:</p><p>·         eDynamo</p></td></tr><tr><td valign="top">MTU_ConnectionType_BLUETOOTH_LE_EMVT (Reserved)</td><td valign="top"><p>Bluetooth Low Energy with EMV supported devices:</p><p>·         tDynamo</p></td></tr><tr><td valign="top">MTU_ConnectionType_TCP (Reserved)</td><td valign="top"><p>Transmission Control Protocol supported devices:</p><p>·         DynaPro</p></td></tr><tr><td valign="top">MTU_ConnectionType_TCP_TLS (Reserved)</td><td valign="top"><p>Transmission Control Protocol with Transport Layer Security supported devices:</p><p>·         DynaPro Go</p></td></tr><tr><td valign="top">MTU_ConnectionType_TCP_TLS_TRUST (Reserved)</td><td valign="top"><p>Transmission Control Protocol with Transport Layer Security supported devices:</p><p>·         DynaPro Go</p></td></tr></tbody></table>

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_ConnectionType_WEBSOCKET</td><td valign="top"><p>WebSocket supported devices:</p><p>·         DynaFlex II PED</p></td></tr><tr><td valign="top"><p> </p><p>MTU_ConnectionType_WEBSOCKET_TRUST</p></td><td valign="top"><p>WebSocket supported devices. This will establish a TLS connection to device without requirement for name match.</p><p>·         DynaFlex II PED</p></td></tr><tr><td valign="top">MTU_ConnectionType_SERIAL (Reserved)</td><td valign="top">UART supported devices</td></tr><tr><td valign="top">MTU_ConnectionType_AUDIO (Reserved)</td><td valign="top"><p>Audio devices:</p><p>·         iDynamo 6</p></td></tr><tr><td valign="top">MTU_ConnectionType_EXTERNAL_ACCESSORY</td><td valign="top">iAP2 supported devices: DynaFlex II Go</td></tr><tr><td valign="top">MTU_ConnectionType_VIRTUAL (Reserved)</td><td valign="top">Virtual devices</td></tr><tr><td valign="top">MTU_ConnectionType_MQTT</td><td valign="top"><p>MQTT devices:</p><p>·         DynaFlex II PED</p></td></tr></tbody></table>

### DataEntryType <a href="#id-15.6_dataentrytype" id="id-15.6_dataentrytype"></a>

This enum is reserved for future use.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_DataEntry_PIN</td><td valign="top">Request Personal Identification Number</td></tr><tr><td valign="top">MTU_DataEntry_Signature</td><td valign="top">Request Signature</td></tr><tr><td valign="top">MTU_DataEntry_SSN</td><td valign="top">Request Social security number</td></tr><tr><td valign="top">MTU_DataEntry_ZIPCODE</td><td valign="top">Request Zip code</td></tr><tr><td valign="top">MTU_DataEntry_BirthDate</td><td valign="top">Request Birth date</td></tr><tr><td valign="top">MTU_DataEntry_ActivationCode</td><td valign="top">Request Activation code</td></tr></tbody></table>

### DeviceEvent <a href="#id-15.7_deviceevent" id="id-15.7_deviceevent"></a>

This enum refers to a change in the device status.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_DeviceEvent_None</td><td valign="top">No event to report.</td></tr><tr><td valign="top">MTU_DeviceEvent_DeviceResetOccured</td><td valign="top">A device reset had occurred.</td></tr><tr><td valign="top"><p> </p><p>MTU_DeviceEvent_DeviceResetWillOccur</p></td><td valign="top">A device reset will occur soon. Host application may use this as a warning to take appropriate actions.</td></tr><tr><td valign="top">MTU_DeviceEvent_DeviceNotPaired</td><td valign="top">Device is not paired therefore cannot be connected.</td></tr></tbody></table>

### DeviceFeature <a href="#id-15.8_devicefeature" id="id-15.8_devicefeature"></a>

This enum refers to a featured supported by the device.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_DeviceFeature_None</td><td valign="top">No feature</td></tr><tr><td valign="top">MTU_DeviceFeature_SignatureCapture</td><td valign="top">Supports signature capture</td></tr><tr><td valign="top">MTU_DeviceFeature_PINEntry</td><td valign="top">Supports PIN entry</td></tr><tr><td valign="top">MTU_DeviceFeature_PANEntry</td><td valign="top">Supports PAN entry</td></tr><tr><td valign="top">MTU_DeviceFeature_ShowBarCode</td><td valign="top">Supports display of a barcode</td></tr><tr><td valign="top">MTU_DeviceFeature_ScanBarCode</td><td valign="top">Supports scanning a barcode</td></tr><tr><td valign="top">MTU_DeviceFeature_Buzzer</td><td valign="top">Has a buzzer</td></tr><tr><td valign="top">MTU_DeviceFeature_NFCCardEmulation</td><td valign="top">Supports NFC card emulation</td></tr><tr><td valign="top">MTU_DeviceFeature_PersonalInfoEntry</td><td valign="top">Supports Personal Info Entry</td></tr></tbody></table>

### DeviceType <a href="#id-15.9_devicetype" id="id-15.9_devicetype"></a>

This enum refers to the type of MagTek reader which the SDK will control.

<table data-header-hidden><thead><tr><th width="240.81817626953125" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p> </p><p> </p><p> </p><p> </p><p>MTU_DeviceType_SCRA</p></td><td valign="top"><p>Secure Reader Authenticator devices. List includes but not limited to:</p><p>·         eDynamo</p><p>·         mDynamo</p><p>·         Dynamag</p><p>·         DynaMax</p><p>·         tDynamo</p><p>·         kDynamo</p><p>·         cDynamo</p><p>·         iDynamo 6</p></td></tr><tr><td valign="top"><p> </p><p> </p><p>MTU_DeviceType_PPSCRA</p></td><td valign="top"><p>PIN Pad Secure Reader Authenticator devices. List includes but not limited to:</p><p>·         DynaPro</p><p>·         DynaPro Go</p><p>·         DynaPro Mini</p></td></tr></tbody></table>

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p>MTU_DeviceType_CMF</p></td><td valign="top"><p>Common Message Structure devices. List includes but not limited to:</p><p>·         oDynamo</p></td></tr><tr><td valign="top"><p> </p><p> </p><p> </p><p>MTU_DeviceType_MMS</p></td><td valign="top"><p>MMS class devices. (MagTek Message Scheme) List includes but not limited to:</p><p>·         DynaFlex</p><p>·         DynaFlex Pro</p><p>·         DynaProx</p><p>·         DynaFlex II PED</p><p>·         DynaFlex II Go</p></td></tr></tbody></table>

### EventType <a href="#id-15.10_eventtype" id="id-15.10_eventtype"></a>

This enum refers to the type of event triggered by the device.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_EventType_ConnectionState</td><td valign="top">There was a change in the connection state of the device.</td></tr><tr><td valign="top">MTU_EventType_DeviceResponse</td><td valign="top">Device has responded to a command.</td></tr><tr><td valign="top">MTU_EventType_DeviceExtendedResponse</td><td valign="top">Device has responded to an extended command.</td></tr><tr><td valign="top">MTU_EventType_DeviceNotification</td><td valign="top">Device has sent a notification.</td></tr><tr><td valign="top">MTU_EventType_DeviceTransferCancelled</td><td valign="top">Device has cancelled data transfer.</td></tr><tr><td valign="top">MTU_EventType_CardData</td><td valign="top">Device has sent magnetic stripe data from a card swipe.</td></tr><tr><td valign="top">MTU_EventType_TransactionStatus</td><td valign="top">There was a change in transaction status.</td></tr><tr><td valign="top">MTU_EventType_DisplayMessage</td><td valign="top">Device has a message to display for the user.</td></tr><tr><td valign="top">MTU_EventType_InputRequest</td><td valign="top">Device is requesting input from the user.</td></tr><tr><td valign="top"><p> </p><p>MTU_EventType_AuthorizationRequest</p></td><td valign="top">Device has sent the Authorization Request Cryptogram and associated block of EMV tags for a transaction. This block is meant to be sent to the transaction processor.</td></tr><tr><td valign="top">MTU_EventType_TransactionResult</td><td valign="top">Device has sent the result of the transaction.</td></tr><tr><td valign="top">MTU_EventType_PINBlock</td><td valign="top">Device has sent the PINBlock after the user has entered a PIN on the device.</td></tr><tr><td valign="top">MTU_EventType_Signature</td><td valign="top">Device has sent data which represents a signature from a user.</td></tr><tr><td valign="top">MTU_EventType_DeviceDataFile</td><td valign="top">Device has sent a data file.</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_EventType_OperationStatus</td><td valign="top">Device has sent an operation status of a command.</td></tr><tr><td valign="top">MTU_EventType_DeviceEvent</td><td valign="top">Device has sent change of device state.</td></tr><tr><td valign="top">MTU_EventType_UserEvent</td><td valign="top">Device has sent a notification related to user interaction with the device.</td></tr><tr><td valign="top">MTU_EventType_FeatureStatus</td><td valign="top">Device has sent a change in a feature.</td></tr><tr><td valign="top">MTU_EventType_PINData</td><td valign="top">Device has sent data related to a PIN.</td></tr><tr><td valign="top">MTU_EventType_PANData</td><td valign="top">Device has sent data related to a PAN.</td></tr><tr><td valign="top">MTU_EventType_BarCodeData</td><td valign="top">Device has sent barcode data.</td></tr><tr><td valign="top">MTU_EventType_NFCEvent</td><td valign="top">Device has sent NFC event.</td></tr><tr><td valign="top">MTU_EventType_NFCData</td><td valign="top">Device has sent NFC data.</td></tr><tr><td valign="top">MTU_EventType_NFCResponse</td><td valign="top">Device has sent response to an NFC command.</td></tr><tr><td valign="top">MTU_EventType_NFCRAPDUResponse</td><td valign="top">Device has sent response to an NFC APDU command for Mifare DESFire Tag.</td></tr><tr><td valign="top"><p> </p><p>MTU_EventType_ClearDisplay</p></td><td valign="top"><p>Device has sent a notification to clear the display of messages for the</p><p>user.</p></td></tr><tr><td valign="top">MTU_EventType_EnhancedInputRequest</td><td valign="top">Device is requesting enhanced input from the user.</td></tr><tr><td valign="top">MTU_EventType_ TouchScreenSignatureCapture</td><td valign="top">Device has sent response to signature capture.</td></tr><tr><td valign="top">MTU_EventType_ TouchScreenFunctionalButtonSelected</td><td valign="top">Device has sent a notification of a functional button selected.</td></tr><tr><td valign="top">MTU_EventType_ TouchScreenTextStringButtonSelected</td><td valign="top">Device has sent a notification of a test string button selected.</td></tr><tr><td valign="top">MTU_EventType_ TouchScreenAmountButtonSelected</td><td valign="top">Device has sent a notification of an amount button selected.</td></tr><tr><td valign="top">MTU_EventType_ TouchScreenPresentCardFunctionalButto nSelected</td><td valign="top">Device has sent a notification of a present card functional button selected.</td></tr><tr><td valign="top">MTU_EventType_ TouchScreenPersonalInfo</td><td valign="top">Device has sent a personal info entry.</td></tr><tr><td valign="top">MTU_EventType_NFCCardData</td><td valign="top">Device has sent NFC card data.</td></tr><tr><td valign="top">MTU_EventType_NFCPassThroughData</td><td valign="top">Device has sent NFC Pass-Through data.</td></tr><tr><td valign="top">MTU_EventType_NFCPassThroughResponse</td><td valign="top">Device has sent a response to NFC Pass-Through exchange.</td></tr></tbody></table>

### FeatureStatus <a href="#id-15.11_featurestatus" id="id-15.11_featurestatus"></a>

This enum refers to the status of a specific feature reported from DeviceEvent.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_FeatureStatus_NoStatus</td><td valign="top">No change in status</td></tr><tr><td valign="top">MTU_FeatureStatus_Success</td><td valign="top">Success</td></tr><tr><td valign="top">MTU_FeatureStatus_Failed</td><td valign="top">Failed</td></tr><tr><td valign="top">MTU_FeatureStatus_TimedOut</td><td valign="top">Timed out</td></tr><tr><td valign="top">MTU_FeatureStatus_Cancelled</td><td valign="top">Cancelled</td></tr><tr><td valign="top">MTU_FeatureStatus_Error</td><td valign="top">Error</td></tr><tr><td valign="top">MTU_FeatureStatus_HardwareNA</td><td valign="top">Featured hardware not applicable for a status</td></tr></tbody></table>

### ImageType <a href="#id-15.12_imagetype" id="id-15.12_imagetype"></a>

This enum refers to the type of image.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_IMAGE_TYPE_BITMAP</td><td valign="top">BMP file</td></tr></tbody></table>

### InfoType <a href="#id-15.13_infotype" id="id-15.13_infotype"></a>

This enum refers to the type of specific information to retrieve from the device.

<table data-header-hidden><thead><tr><th width="316.272705078125" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_InfoType_DeviceSerialNumber</td><td valign="top">Device serial number.</td></tr><tr><td valign="top">MTU_InfoType_FirmwareVersion</td><td valign="top">Firmware version of the device.</td></tr><tr><td valign="top">MTU_InfoType_DeviceCapabilities</td><td valign="top">Capabilities of the device delimited by a comma.</td></tr><tr><td valign="top">MTU_InfoType_Boot1Version</td><td valign="top">Boot 1 firmware version of the device.</td></tr><tr><td valign="top">MTU_InfoType_Boot0Version</td><td valign="top">Boot 0 firmware version of the device.</td></tr><tr><td valign="top">MTU_InfoType_FirmwareHash</td><td valign="top">Firmware hash comprised of part numbers, versions, and timestamps.</td></tr><tr><td valign="top"><p> </p><p>MTU_InfoType_TamperStatus</p></td><td valign="top"><p>Tamper status of the device. 0x00 = Not Tampered</p><p>0x01 = Tampered</p></td></tr><tr><td valign="top"><p> </p><p>MTU_InfoType_OperationStatus</p></td><td valign="top"><p>Operation status of the device. 0x01 = Offline</p><p>0x02 = Online</p></td></tr></tbody></table>

<table data-header-hidden><thead><tr><th width="313.54541015625" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top"><p> </p><p> </p><p> </p><p> </p><p> </p><p>MTU_InfoType_OfflineDetail</p></td><td valign="top"><p>Details of why the device is offline.</p><p>·         Bit 0 = Tamper problem present</p><p>·         Bit 1 = Master Key problem present</p><p>·         Bit 2 = Keys and Certificates problem present</p><p>·         Bit 3 = Real Time Clock problem present</p><p>·         Bit 4 = Random Number Generator problem present</p><p>·         Bit 5 = Cryptography Engine problem present</p><p>·         Bit 6 = Magnetic Stripe Reader Hardware problem present</p><p>·         Bit 7 = Reserved</p></td></tr><tr><td valign="top">MTU_InfoType_DeviceModel</td><td valign="top">Device model.</td></tr><tr><td valign="top">MTU_InfoType_FirmwareVersionWLAN</td><td valign="top">Firmware version for WLAN module of the device.</td></tr><tr><td valign="top">MTU_InfoType_FirmwareVersionBLE</td><td valign="top">Firmware version for Bluetooth LE module of the device.</td></tr><tr><td valign="top">MTU_InfoType_BatteryLevel</td><td valign="top">Battery level of the device.</td></tr></tbody></table>

### NFCDataMode <a href="#id-15.14_nfcdatamode" id="id-15.14_nfcdatamode"></a>

This enum refers to the type of NFC data mode.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_NFCDataMode_ASCII</td><td valign="top">ASCII</td></tr><tr><td valign="top">MTU_NFCDataMode_Binary</td><td valign="top">Binary</td></tr></tbody></table>

### NFCEvent <a href="#id-15.15_nfcevent" id="id-15.15_nfcevent"></a>

This enum refers to the NFC event.

<table data-header-hidden><thead><tr><th width="319.9090576171875" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_NFCEvent_None</td><td valign="top">No event</td></tr><tr><td valign="top">MTU_NFCEvent_NFCMifareUltralight</td><td valign="top">Mifare Ultralight</td></tr><tr><td valign="top">MTU_NFCEvent_MifareClassic1K</td><td valign="top">Mifare Classic 1K</td></tr><tr><td valign="top">MTU_NFCEvent_MifareClassic4K</td><td valign="top">Mifare Classic 4K</td></tr><tr><td valign="top">MTU_NFCEvent_MifareDESFire</td><td valign="top">Mifare DESFire</td></tr><tr><td valign="top">MTU_NFCEvent_MifareDESFireLight</td><td valign="top">Mifare DESFire Light</td></tr><tr><td valign="top">MTU_NFCEvent_MifareMini</td><td valign="top">Mifare Mini</td></tr><tr><td valign="top">MTU_NFCEvent_MifarePlusEV1</td><td valign="top">Mifare Plus EV1</td></tr><tr><td valign="top">MTU_NFCEvent_MifarePlusEV2</td><td valign="top">Mifare Plus EV2</td></tr><tr><td valign="top">MTU_NFCEvent_MifarePlusSE</td><td valign="top">Mifare Plus SE</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th width="330.8182373046875" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_NFCEvent_MifarePlusX</td><td valign="top">Mifare Plus X</td></tr><tr><td valign="top">MTU_NFCEvent_MifareDESFireEV1</td><td valign="top">Mifare DESFire EV1</td></tr><tr><td valign="top">MTU_NFCEvent_MifareDESFireEV2</td><td valign="top">Mifare DESFire EV2</td></tr><tr><td valign="top">MTU_NFCEvent_MifareDESFireEV3</td><td valign="top">Mifare DESFire EV3</td></tr><tr><td valign="top">MTU_NFCEvent_CAmDL</td><td valign="top">Mobile Driver license</td></tr><tr><td valign="top">MTU_NFCEvent_TagRemoved</td><td valign="top">Tag removed</td></tr><tr><td valign="top">MTU_NFCEvent_Failed</td><td valign="top">Command failed</td></tr><tr><td valign="top">MTU_NFCEvent_IOFailed</td><td valign="top">IO failed</td></tr><tr><td valign="top">MTU_NFCEvent_AuthenticationFailed</td><td valign="top">Authentication failed</td></tr></tbody></table>

### PaymentMethod <a href="#id-15.16_paymentmethod" id="id-15.16_paymentmethod"></a>

This enum refers to which card type the device will perform a transaction.

<table data-header-hidden><thead><tr><th width="333.54541015625" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_PaymentMethod_MSR</td><td valign="top">For magnetic stripe cards.</td></tr><tr><td valign="top">MTU_PaymentMethod_Contact</td><td valign="top">For EMV chip cards.</td></tr><tr><td valign="top">MTU_PaymentMethod_Contactless</td><td valign="top">For NFC contactless cards.</td></tr><tr><td valign="top">MTU_PaymentMethod_ManualEntry</td><td valign="top">For user to manually enter transaction data without any card access.</td></tr><tr><td valign="top">MTU_PaymentMethod_BarCode</td><td valign="top">Reserved for future use.</td></tr><tr><td valign="top">MTU_PaymentMethod_AppleVAS</td><td valign="top">For Apple VAS.</td></tr><tr><td valign="top">MTU_PaymentMethod_BarCodeEncrypted</td><td valign="top">Reserved for future use.</td></tr><tr><td valign="top">MTU_PaymentMethod_NFC</td><td valign="top">For NFC Mifare.</td></tr><tr><td valign="top">MTU_PaymentMethod_GoogleVAS</td><td valign="top">Reserved for future use.</td></tr></tbody></table>

### StatusCode <a href="#id-15.17_statuscode" id="id-15.17_statuscode"></a>

This enum refers to the status of the transaction.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_StatusCode_Success</td><td valign="top">The operation completed successfully.</td></tr><tr><td valign="top">MTU_StatusCode_Timeout</td><td valign="top">The operation timed out.</td></tr><tr><td valign="top">MTU_StatusCode_Error</td><td valign="top">Error attempting the operation.</td></tr><tr><td valign="top">MTU_StatusCode_Unavailable</td><td valign="top">Status currently unavailable.</td></tr></tbody></table>

### SystemState <a href="#id-15.18_systemstate" id="id-15.18_systemstate"></a>

This enum refers to the host system state of connectivity.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">SystemStateUnknown</td><td valign="top">Initial state</td></tr><tr><td valign="top">SystemStateBluetoothLEResetting</td><td valign="top">Bluetooth resetting</td></tr><tr><td valign="top">SystemStateBluetoothLEUnsupported</td><td valign="top">Bluetooth unsupported</td></tr><tr><td valign="top">SystemStateBluetoothLEUnauthorized</td><td valign="top">Bluetooth unauthorized</td></tr><tr><td valign="top">SystemStateBluetoothLEPoweredOff</td><td valign="top">Bluetooth powered off</td></tr><tr><td valign="top">SystemStateBluetoothLEPoweredOn</td><td valign="top">Bluetooth powered on</td></tr><tr><td valign="top">SystemStateNetworkOff</td><td valign="top">Network off</td></tr><tr><td valign="top">SystemStateNetworkOn</td><td valign="top">Network on</td></tr><tr><td valign="top">SystemStateServerNotReachable</td><td valign="top">Server not reachable</td></tr><tr><td valign="top">SystemStateRejectedByServer</td><td valign="top">Rejected by server</td></tr><tr><td valign="top">SystemStateTLSAuthenticationFailed</td><td valign="top">TLS authentication failed</td></tr><tr><td valign="top">SystemStateProtocolError</td><td valign="top">Protocol error</td></tr><tr><td valign="top">SystemStateServerConnected</td><td valign="top">Server connected</td></tr></tbody></table>

### NFCTransactionMode <a href="#id-15.19_nfctransactionmode" id="id-15.19_nfctransactionmode"></a>

This enum refers to the mode of the transaction.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_NFCTransactionMode_None</td><td valign="top">None</td></tr><tr><td valign="top">MTU_NFCTransactionMode_MifareClassic</td><td valign="top">Mifare Classic</td></tr><tr><td valign="top">MTU_NFCTransactionMode_MifareDESFire</td><td valign="top">Mifare DESFire</td></tr><tr><td valign="top">MTU_NFCTransactionMode_ AppleWalletMobileDESFire</td><td valign="top">Apple Wallet mobile DESFire</td></tr><tr><td valign="top">MTU_NFCTransactionMode_ Mifare2GoMobileDESFire</td><td valign="top">Mifare 2 Go mobile DESFire</td></tr></tbody></table>

### TransactionStatus <a href="#id-15.20_transactionstatus" id="id-15.20_transactionstatus"></a>

This enum refers to the status of the transaction.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_TransactionStatus_ NoStatus</td><td valign="top">Set before the start of a transaction and before a card is presented to the device.</td></tr><tr><td valign="top">MTU_TransactionStatus_ NoTransaction</td><td valign="top">No transaction in progress.</td></tr><tr><td valign="top">MTU_TransactionStatus_ CardSwiped</td><td valign="top">A card was swiped into the device.</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_TransactionStatus_ CardInserted</td><td valign="top">A card was inserted into the device.</td></tr><tr><td valign="top">MTU_TransactionStatus_ CardRemoved</td><td valign="top">A card was removed from the device.</td></tr><tr><td valign="top">MTU_TransactionStatus_ CardDetected</td><td valign="top">A card was detected by the device.</td></tr><tr><td valign="top">MTU_TransactionStatus_ CardCollision</td><td valign="top">A card collision was detected by the device. Possibly more than 1 contactless detected.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TimedOut</td><td valign="top">The transaction was not completed before a timeout period.</td></tr><tr><td valign="top">MTU_TransactionStatus_ HostCanceled</td><td valign="top">The host software sent a cancel.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TransactionCanceled</td><td valign="top">The transaction was canceled by device.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TransactionInProgress</td><td valign="top">The transactions is in progress.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TransactionError</td><td valign="top">There is an error during the transaction.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TransactionApproved</td><td valign="top">The transactions is approved.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TransactionDeclined</td><td valign="top">The transactions is declined.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TransactionCompleted</td><td valign="top">The transaction is completed.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TransactionFailed</td><td valign="top">The transaction failed.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TransactionNotAccepted</td><td valign="top">The transaction was not accepted by the device.</td></tr><tr><td valign="top">MTU_TransactionStatus_ SignatureCaptureReques ted</td><td valign="top"><p> </p><p>A signature capture is requested by the device.</p></td></tr><tr><td valign="top">MTU_TransactionStatus_ TechnicalFallback</td><td valign="top">Due to technical reasons, the chip transaction cannot be completed by the reader.</td></tr><tr><td valign="top">MTU_TransactionStatus_ QuickChipDeferred</td><td valign="top">Device has sent a “Z3” response code to the chip card.</td></tr><tr><td valign="top">MTU_TransactionStatus_ DataEntered</td><td valign="top">Data has been entered on the device for a manual card entry transaction.</td></tr><tr><td valign="top">MTU_TransactionStatus_ TryAnotherInterface</td><td valign="top">Due to removal of the chip card, error with contactless card, or magnetic swipe has a service code for chip card, the transaction cannot be completed by the reader.</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_TransactionStatus_ BarcodeRead</td><td valign="top">A barcode is read.</td></tr><tr><td valign="top">MTU_TransactionStatus_ VASError</td><td valign="top">Apple VAS error occurred.</td></tr><tr><td valign="top">MTU_TransactionStatus_ MSRFallback</td><td valign="top">MSR fallback occurred.</td></tr><tr><td valign="top">MTU_TransactionStatus_ ReservedICCOnly</td><td valign="top"> </td></tr></tbody></table>

### OperationStatus <a href="#id-15.21_operationstatus" id="id-15.21_operationstatus"></a>

This enum refers to the operation status of the device.

<table data-header-hidden><thead><tr><th width="293.5455322265625" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_OperationStatus_NoStatus</td><td valign="top">No update for the operation.</td></tr><tr><td valign="top">MTU_OperationStatus_Started</td><td valign="top">Device has started an operation.</td></tr><tr><td valign="top">MTU_OperationStatus_Warning</td><td valign="top">Device has sent a warning about the operation.</td></tr><tr><td valign="top">MTU_OperationStatus_Failed</td><td valign="top">Device has failed an operation.</td></tr><tr><td valign="top">MTU_OperationStatus_Done</td><td valign="top">Device has completed an operation.</td></tr></tbody></table>

### UserEvent <a href="#id-15.22_userevent" id="id-15.22_userevent"></a>

This enum refers to the type of user event reported by the device. These events relate to user interaction.

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_UserEvent_None</td><td valign="top">No events yet to occur.</td></tr><tr><td valign="top">MTU_UserEvent_ContactlessCardPresented</td><td valign="top">Contactless card has been presented.</td></tr><tr><td valign="top">MTU_UserEvent_ContactlessCardRemoved</td><td valign="top">Contactless card has been removed.</td></tr><tr><td valign="top">MTU_UserEvent_CardSeated</td><td valign="top">Card is seated into the chip station.</td></tr><tr><td valign="top">MTU_UserEvent_CardUnseated</td><td valign="top">Card was removed from the chip station.</td></tr><tr><td valign="top">MTU_UserEvent_CardSwiped</td><td valign="top">Magnetic stripe card was swiped.</td></tr><tr><td valign="top">MTU_UserEvent_TouchPresented</td><td valign="top">Touch screen sensor press detected.</td></tr><tr><td valign="top">MTU_UserEvent_TouchRemoved</td><td valign="top">Touch screen sensor release detected.</td></tr><tr><td valign="top">MTU_UserEvent_BarcodeRead</td><td valign="top">Barcode detected.</td></tr><tr><td valign="top">MTU_UserEvent_NFCMifareUltralightPresented</td><td valign="top">Mifare Ultralight presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifareClassic1KPresented</td><td valign="top">Mifare Classic 1K presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifareClassic4KPresented</td><td valign="top">Mifare Classic 4K presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFirePresented</td><td valign="top">Mifare DESFire presented.</td></tr></tbody></table>

<table data-header-hidden><thead><tr><th valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFireLightPresented</td><td valign="top">Mifare DESFire Light presented.</td></tr><tr><td valign="top">MTU_UserEvent_NFCMifareUltralightRemoved</td><td valign="top">Mifare Ultralight removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifareClassic1KRemoved</td><td valign="top">Mifare Classic 1K removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifareClassic4KRemoved</td><td valign="top">Mifare Classic 4K removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFireRemoved</td><td valign="top">Mifare DESFire removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFireLightRemoved</td><td valign="top">Mifare DESFire Light removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifareMiniPresented</td><td valign="top">Mifare Mini presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifareMiniRemoved</td><td valign="top">Mifire Mini removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifarePlusEV1Presented</td><td valign="top">Mifare Plus EV1 presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifarePlusEV2Presented</td><td valign="top">Mifare Plus EV2 presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifarePlusSEPresented</td><td valign="top">Mifare Plus SE presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifarePlusXPresented</td><td valign="top">Mifare Plus X presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFireEV1Presented</td><td valign="top">Mifare DESFire EV1 presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFireEV2Presented</td><td valign="top">Mifare DESFire EV2 presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFireEV3Presented</td><td valign="top">Mifare DESFire EV3 presented.</td></tr><tr><td valign="top">MTU_UserEvent_MifarePlusEV1Removed</td><td valign="top">Mifare Plus EV1 removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifarePlusEV2Removed</td><td valign="top">Mifare Plus EV2 removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifarePlusSERemoved</td><td valign="top">Mifare Plus SE removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifarePlusXRemoved</td><td valign="top">Mifare Plus X removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFireEV1Removed</td><td valign="top">Mifare DESFire EV1 removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFireEV2Removed</td><td valign="top">Mifare DESFire EV2 removed.</td></tr><tr><td valign="top">MTU_UserEvent_MifareDESFireEV3Removed</td><td valign="top">Mifare DESFire EV3 removed.</td></tr><tr><td valign="top">MTU_UserEvent_mDLPresented</td><td valign="top">Mobile Driver’s License presented.</td></tr><tr><td valign="top">MTU_UserEvent_mDLRemoved</td><td valign="top">Mobile Driver’s License removed.</td></tr></tbody></table>

### VASMode <a href="#id-15.23_vasmode" id="id-15.23_vasmode"></a>

This enum refers to the Apple VAS mode. This controls how the Apple VAS data is returned in the transaction ARQC. For details on Apple VAS data structure returned in a transaction see <mark style="color:red;">**DynaFlex Family Programmer’s Manual.**</mark>

<table data-header-hidden><thead><tr><th width="231.727294921875" valign="top"></th><th valign="top"></th></tr></thead><tbody><tr><td valign="top">Enum</td><td valign="top">Description</td></tr><tr><td valign="top">MTU_VASMode_Single</td><td valign="top">The device reads only Apple VAS data from a tapped smartphone, or reads EMV payment data from a tapped card. When the device sends ARQC to conclude the transaction, it only includes either EMV payment data in container FC for cards, or includes VAS data in container FE for smartphones.</td></tr><tr><td valign="top"><p> </p><p> </p><p>MTU_VASMode_Dual</p></td><td valign="top">The device reads both Apple VAS data and EMV payment data from a tapped smartphone, or reads EMV payment data from a tapped card. When device sends ARQC to the host to conclude the transaction, it includes EMV payment data in container FC and includes VAS data, if available, in container FE.</td></tr><tr><td valign="top"><p> </p><p> </p><p>MTU_VASMode_VASOnly</p></td><td valign="top">The device reads only Apple VAS data from a tapped smartphone, and does not read data from a tapped card. If the tapped smartphone does not support VAS, the device does not detect or read from the smartphone. When the device send ARQC to conclude the transaction, it includes VAS data in container FE and does not include EMV payment data in container FC.</td></tr><tr><td valign="top">MTU_VASMode_ECP2</td><td valign="top">The host can configure the ECP2 frame. See Apple ECP2.0 specification.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.magtek.com/sdks-and-tools/universal-sdk-documentation/ios/enumerations.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
