目录

native_handwrite_api.h

概述

声明用于对外提供手写能力。

库: libhandwrite_ndk.z.so

引用文件: <handwrite/native_handwrite_api.h>

系统能力: SystemCapability.Stylus.Handwrite

起始版本: 6.0.0(20)

相关模块: HandWrite

汇总

[h2]结构体

名称 描述
struct HandWrite_HistoricalPoint 定义历史触摸点信息的结构体。

[h2]枚举

名称 描述

Handwrite_ErrCode {

E_NO_ERROR = 0,

E_PARAMS = 401,

E_INNER_ERROR = 1010400001,

E_PERMISSION = 201

}

定义手写错误码。

[h2]函数

名称 函数
int32_t HMS_HandWrite_GetPredictPoint(const HandWrite_HistoricalPoint *event, int32_t size, float *predictPointX, float *predictPointY) 此接口用于获取预测点。

[h2]函数

名称 函数
int32_t HMS_HandWrite_SetRefreshDelayOff(const char* xcomponentId, const bool enable) 此接口用于笔记类应用提升手写笔书写时延。