{"title":"Exit the library","category":"default","creationDate":1776961627,"content":"<p>Exit the library before you turn the POS off.<\/p>\n<div class=\"sc-notice note\"><div>\n<p>The call and the callback are asynchronous to prevent the call from blocking the calling thread.<\/p>\n<\/div><\/div>\n<h2>Class<\/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>MerchantPos<\/code><\/td>\n<td>Extends\u00a0<code>AdyenPos<\/code>. Class used to implement all payment platform functionality. Implements all functions that do not involve the PED.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"method\">Method<\/h2>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 6%\"><col style=\"width: 92%\"><\/colgroup><thead><tr class=\"header\"><th>Name<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td><p><code>exitLibrary<\/code><\/p><\/td><td>Exits the library.<\/td><\/tr><\/tbody><\/table>\n<h2 id=\"callback\">Callback<\/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>exitLibraryCallback<\/code><\/td>\n<td>Callback to the exit library call. The POS must wait until the system returns a callback, the library has been successfully discarded and all related resources are destroyed before continuing with other functions<\/td>\n<\/tr>\n<\/tbody>\n<\/table>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/exit-the-library-jni","articleFields":{"id":"31492880","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\/exit-the-library-jni","title":"Exit the library","content":"Exit the library before you turn the POS off.\n\nThe call and the callback are asynchronous to prevent the call from blocking the calling thread.\n\nClass\n\n\n\nName\nDescription\n\n\n\n\nMerchantPos\nExtends\u00a0AdyenPos. Class used to implement all payment platform functionality. Implements all functions that do not involve the PED.\n\n\n\nMethod\nNameDescriptionexitLibraryExits the library.\nCallback\n\n\n\nName\nDescription\n\n\n\n\nexitLibraryCallback\nCallback to the exit library call. The POS must wait until the system returns a callback, the library has been successfully discarded and all related resources are destroyed before continuing with other functions\n\n\n","type":"page","locale":"pt","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"Java Native Interface integration","lvl5":"Key steps","lvl6":"Exit the library"},"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":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/java-native-interface-integration\/key-steps-jni\/exit-the-library-jni"},"levels":7,"category":"In-person payments","category_color":"green","tags":["library"]}}
