harmony 鸿蒙Window Subsystem Changelog
Window Subsystem Changelog
cl.window.1 Error Code Returned by getTitleButtonRect Is Changed
Access Level
Public API
Reason for Change
The API implementation is inconsistent with the design. This API takes effect only on 2-in-1 devices.
Change Impact
This change is a non-compatible change.
Before the change: When a non-2-in-1 device calls getTitleButtonRect, error code 1300002 is returned.
After the change: When a non-2-in-1 device calls getTitleButtonRect, error code 801 is returned.
Start API Level
11
Change Since
OpenHarmony SDK 5.0.0.30
Key API/Component Changes
@ohos.window.d.ts
System capability: SystemCapability.Window.SessionManager
API: getTitleButtonRect
Adaptation Guide
Call this API on a 2-in-1 device. If it is called on a non-2-in-1 device, error code 801 is returned.
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦