NeoPenNative
JNI facade compatible with onyxsdk-pennative:1.0.4.
The native implementation is owned by this project and also exports the legacy com.onyx.android.sdk.pen entry points from the same renderer core.
Functions
Link copied to clipboard
Creates a native logger handle and selects the SDK default log level.
Link copied to clipboard
Releases pen. Destroying an unknown or already released handle is a no-op.
Link copied to clipboard
Starts a stroke for pen.
Link copied to clipboard
fun onPenMove(pen: Long, pointArray: DoubleArray, predictionArray: DoubleArray?, repaint: Boolean): PenInkResult?
Extends the active stroke for pen.
Link copied to clipboard
Finishes the active stroke for pen and resets its per-stroke state.
Link copied to clipboard
Makes logger the process-wide logger used by the native renderer.
Link copied to clipboard
Sets the vendor-compatible integer logging level for native renderer messages.