CloudPOS SDK: Difference between revisions

From wizarPOS
Line 8: Line 8:
=== C API ===
=== C API ===
*[[API_description|API Spec]]
*[[API_description|API Spec]]
*[[error code]]
*[[error code|Error code]]
*[[header files]]
*[[header files|Header files]]


=== JNI API ===
=== JNI API ===

Revision as of 02:57, 19 November 2018

Device API

There are three layers of device API, the lower layer is C, the device provides C interface, and the third-party app writes their own JNI source by calling the C interface. The middle layer is JNI interface, wizarPOS writes JNI source and generates the device so files, so the third-party app just uses the JNIInterface to finish the calling. The upper layer is Java interface, wizarPOS provides Java interface for the third-party app, the third-party app only needs to import the .aar pakcage to their libs. The app should request permissions in manifest file.

C API

JNI API

Java API

Payment EMV

Barcode

Full Screen

Advance SDK