API description

From wizarPOS
Revision as of 09:28, 27 March 2018 by Mahong (talk | contribs) (Created page with "== Printer API == There are three layers of printer API, the lower layer is C, the device provid C interface, and the third app to write their own JNI source by calling the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Printer API

 There are three layers of printer API, the lower layer is C, the device provid C interface, and the third app to write their own JNI source by calling the C interface.
 The middle layer is JNI interface, wizarPOS write JNI source and generate the device so files, so the third app just use the JNIInterface to finish the calling.
 The upper layer is Java interface, wizarPOS provide Java interface for the third app, the third app only need to import the .aar pakcage to their libs.

C interface

JNI interface

Java interface