{"title":"Handle and extract data from Callbacks","category":"default","creationDate":1776961627,"content":"<h2 id=\"variable\">Variable<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>LibraryResult<\/code><\/td>\n<td>Use in-app\u00a0declared variables to extract and store data. Initialize variables on the cash register side and pass them as arguments to the methods provided by the Java Native Interface (JNI). The JNI then assigns the appropriate value to the variables. The cash register can then access, store and process the information.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The following pages describe extracting data from callbacks:<\/p>\n<p><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-progress-events-jni\">Handle progress events - JNI<\/a><\/p>\n<p><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni\/handle-dynamic-currency-conversion-jni\">Handle Dynamic Currency Conversion - JNI<\/a><\/p>\n<p><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni\/display-a-screen-on-a-large-screen-terminal-jni\">Display a screen on a large screen terminal - JNI<\/a><\/p>\n<p><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-the-signature-callback-jni\">Handle the Signature callback - JNI<\/a><\/p>\n<p><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-the-print-receipt-callback-jni\">Handle the Print Receipt callback - JNI<\/a><\/p>\n<p><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/extras-jni\/handle-the-ped-exception-callback-jni\">Handle the PED Exception Callback - JNI<\/a><\/p>\n<p><a href=\"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-the-additional-data-callback-jni\">Handle the Additional Data callback - JNI<\/a><\/p>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-and-extract-data-from-callbacks-jni","articleFields":{"id":"31501683","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-and-extract-data-from-callbacks-jni","title":"Handle and extract data from Callbacks","content":"Variable\n\n\n\nName\nDescription\n\n\n\n\nLibraryResult\nUse in-app\u00a0declared variables to extract and store data. Initialize variables on the cash register side and pass them as arguments to the methods provided by the Java Native Interface (JNI). The JNI then assigns the appropriate value to the variables. The cash register can then access, store and process the information.\n\n\n\nThe following pages describe extracting data from callbacks:\nHandle progress events - JNI\nHandle Dynamic Currency Conversion - JNI\nDisplay a screen on a large screen terminal - JNI\nHandle the Signature callback - JNI\nHandle the Print Receipt callback - JNI\nHandle the PED Exception Callback - JNI\nHandle the Additional Data callback - JNI","type":"page","locale":"pt","boost":13,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"Java Native Interface integration","lvl5":"Key steps","lvl6":"Process a basic transaction","lvl7":"Handle and extract data from Callbacks"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni","lvl6":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni","lvl7":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/process-a-basic-transaction-jni\/handle-and-extract-data-from-callbacks-jni"},"levels":8,"category":"In-person payments","category_color":"green","tags":["Handle","extract","Callbacks"]}}
