已合并
fix version #5005
kevin812085902创建于 4月21日
fix version #5005
已合并
从已删除 :master合入到openharmony/interface_sdk_cmaster
共 2 个文件变更+2-2
| @@ -2610,7 +2610,7 @@ Input_Result OH_Input_SetCustomCursor(int32_t windowId, Input_CustomCursor* cust | |||
| 2610 | * {@link INPUT_PARAMETER_ERROR} The input device does not exist or | 2610 | * {@link INPUT_PARAMETER_ERROR} The input device does not exist or |
| 2611 | * the display does not exist or the input device is not a stylus. | 2611 | * the display does not exist or the input device is not a stylus. |
| 2612 | * {@link INPUT_SERVICE_EXCEPTION} if the service is exception. | 2612 | * {@link INPUT_SERVICE_EXCEPTION} if the service is exception. |
| 2613 | - * @since 24 | 2613 | + * @since 26.0.0 |
徐 | |||
| 2614 | */ | 2614 | */ |
| 2615 | Input_Result OH_Input_BindInputDeviceToDisplay(int32_t inputDeviceId, int32_t displayId); | 2615 | Input_Result OH_Input_BindInputDeviceToDisplay(int32_t inputDeviceId, int32_t displayId); |
| 2616 | 2616 | ||
| @@ -703,7 +703,7 @@ | |||
| 703 | "name": "OH_Input_GetTouchEventToolType" | 703 | "name": "OH_Input_GetTouchEventToolType" |
| 704 | }, | 704 | }, |
| 705 | { | 705 | { |
| 706 | - "first_introduced": "24", | 706 | + "first_introduced": "26.0.0", |
| 707 | "name": "OH_Input_BindInputDeviceToDisplay" | 707 | "name": "OH_Input_BindInputDeviceToDisplay" |
| 708 | } | 708 | } |
| 709 | ] | 709 | ] |
兼容性问题:
OH_Input_BindInputDeviceToDisplay已是已发布公共 API(原元数据为 24),本变更将@since提升到26.0.0会改变既有可用版本契约,导致 24/25 版本调用方在文档与SDK元数据层面出现回退。请保持已发布 API 的首发版本不变;若确为历史标注错误,请补充明确的发布依据并同步评估兼容性影响。