abortGetUserSelection 方法用于取消通过 getUserSelection 方法发起的活动用户选择提示。
要求
JSON-RPC 2.0TweezerComm 中的所有方法都遵循 JSON-RPC 2.0 结构。有关请求的结构和发送方式的更多详细信息,请参阅“入门指南” 。
method 字段设置为 abortGetUserSelection,并在 params 数组中包含服务名称。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
abortGetUserSelection 方法用于取消通过 getUserSelection 方法发起的活动用户选择提示。
method 字段设置为 abortGetUserSelection,并在 params 数组中包含服务名称。
{
"jsonrpc": "2.0",
"method": "abortGetUserSelection",
"id": "123",
"params": [
"device",
{}
]
}
| 姓名 | 类型 | 描述 |
|---|---|---|
device | string | 服务名称(固定值) |
{
"jsonrpc": "2.0",
"id": "123",
"result": {
"statusCode": 0,
"statusMessage": "canceled"
}
}
| 姓名 | 类型 | 描述 |
|---|---|---|
statusCode | integer | 操作状态(0 = 成功) |
statusMessage | string | 指示操作结果的消息 |
此页面对您有帮助吗?