RawInputCallback
com.onyx.android.sdk.pen.RawInputCallback
Abstract base class for receiving pen events from TouchHelper. All eight
abstract methods must be implemented — the SDK uses an abstract class, not an
interface.
Signature |
Description |
|---|---|
|
[AI Generated] Pen tip touches the surface. The |
|
[AI Generated] Called for each sampled point during a stroke at digitizer rate
(often 100–200 Hz). The SDK’s A2 renderer fires simultaneously — no
|
|
[AI Generated] Pen tip lifts. Fired before
|
|
[AI Generated] Complete stroke delivered on pen-up. Primary callback for
persisting stroke data. Call |
|
[AI Generated] Eraser end touches the surface. |
|
[AI Generated] Per-point callback during an erasing gesture. |
|
[AI Generated] Eraser end lifts. |
|
[AI Generated] Complete erasing stroke on eraser-up. |
|
[AI Generated] Non-abstract (no-op default). Fired when the pen hovers above the surface without touching. Useful for showing a cursor. |
|
[AI Generated] Non-abstract (no-op default). Fired after the SDK’s pen-up
screen refresh with the bounding rect of the refreshed area. Only fires when
|