声明用于对外提供手写能力。
库: libhandwrite_ndk.z.so
引用文件: <handwrite/native_handwrite_api.h>
系统能力: SystemCapability.Stylus.Handwrite
起始版本: 6.0.0(20)
相关模块: HandWrite
| 名称 | 描述 |
|---|---|
| E_NO_ERROR = 0, E_PARAMS = 401, E_INNER_ERROR = 1010400001, E_PERMISSION = 201 } | 定义手写错误码。 |
| 名称 | 函数 |
|---|---|
| int32_t HMS_HandWrite_GetPredictPoint(const HandWrite_HistoricalPoint *event, int32_t size, float *predictPointX, float *predictPointY) | 此接口用于获取预测点。 |
| 名称 | 函数 |
|---|---|
| int32_t HMS_HandWrite_SetRefreshDelayOff(const char* xcomponentId, const bool enable) | 此接口用于笔记类应用提升手写笔书写时延。 |