Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
522c86cd
D
Docs
项目概览
OpenHarmony
/
Docs
1 年多 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
522c86cd
编写于
10月 27, 2022
作者:
O
openharmony_ci
提交者:
Gitee
10月 27, 2022
浏览文件
操作
浏览文件
下载
差异文件
!11065 modify window and display error message
Merge pull request !11065 from leafly2021/0415_master
上级
a82096b1
ae9144e4
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
94 addition
and
94 deletion
+94
-94
zh-cn/application-dev/reference/apis/js-apis-display.md
zh-cn/application-dev/reference/apis/js-apis-display.md
+6
-6
zh-cn/application-dev/reference/apis/js-apis-screen.md
zh-cn/application-dev/reference/apis/js-apis-screen.md
+18
-18
zh-cn/application-dev/reference/apis/js-apis-window.md
zh-cn/application-dev/reference/apis/js-apis-window.md
+58
-58
zh-cn/application-dev/reference/errorcodes/errorcode-display.md
...application-dev/reference/errorcodes/errorcode-display.md
+9
-9
zh-cn/application-dev/reference/errorcodes/errorcode-window.md
.../application-dev/reference/errorcodes/errorcode-window.md
+3
-3
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-display.md
浏览文件 @
522c86cd
...
...
@@ -84,7 +84,7 @@ getDefaultDisplaySync(): Display
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -117,7 +117,7 @@ getAllDisplays(callback: AsyncCallback<Array<Display>>): void
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -153,7 +153,7 @@ getAllDisplays(): Promise<Array<Display>>
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -196,7 +196,7 @@ hasPrivateWindow(displayId: number): boolean
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1400003 | This
window manager service work
abnormally. |
| 1400003 | This
display manager service works
abnormally. |
**示例:**
...
...
@@ -442,7 +442,7 @@ getCutoutInfo(callback: AsyncCallback<CutoutInfo>): void
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -481,7 +481,7 @@ getCutoutInfo(): Promise<CutoutInfo>
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
zh-cn/application-dev/reference/apis/js-apis-screen.md
浏览文件 @
522c86cd
...
...
@@ -34,7 +34,7 @@ getAllScreens(callback: AsyncCallback<Array<Screen>>): void
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -70,7 +70,7 @@ getAllScreens(): Promise<Array<Screen>>
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -162,7 +162,7 @@ makeExpand(options:Array<ExpandOption>, callback: AsyncCallback<number&
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -208,7 +208,7 @@ makeExpand(options:Array<ExpandOption>): Promise<number>
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -246,7 +246,7 @@ makeMirror(mainScreen:number, mirrorScreen:Array<number>, callback: AsyncC
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -293,7 +293,7 @@ makeMirror(mainScreen:number, mirrorScreen:Array<number>): Promise<numb
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -334,7 +334,7 @@ createVirtualScreen(options:VirtualScreenOption, callback: AsyncCallback<Scre
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -388,7 +388,7 @@ createVirtualScreen(options:VirtualScreenOption): Promise<Screen>
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -433,7 +433,7 @@ destroyVirtualScreen(screenId:number, callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| 1400002 |
This operation is not access
. |
| 1400002 |
Unauthorized operation
. |
**示例:**
...
...
@@ -478,7 +478,7 @@ destroyVirtualScreen(screenId:number): Promise<void>
| 错误码ID | 错误信息 |
| ------- | ----------------------------- |
| 1400002 |
This operation is not access
. |
| 1400002 |
Unauthorized operation
. |
**示例:**
...
...
@@ -519,7 +519,7 @@ setVirtualScreenSurface(screenId:number, surfaceId: string, callback: AsyncCallb
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -568,7 +568,7 @@ setVirtualScreenSurface(screenId:number, surfaceId: string): Promise<void>
| 错误码ID | 错误信息 |
| ------- | ----------------------- |
| 1400001 |
This is invalid
screen. |
| 1400001 |
Invalid display or
screen. |
**示例:**
...
...
@@ -764,7 +764,7 @@ setOrientation(orientation: Orientation, callback: AsyncCallback<void>): v
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1400003 | This
window manager service work
abnormally. |
| 1400003 | This
display manager service works
abnormally. |
**示例:**
...
...
@@ -806,7 +806,7 @@ setOrientation(orientation: Orientation): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1400003 | This
window manager service work
abnormally. |
| 1400003 | This
display manager service works
abnormally. |
**示例:**
...
...
@@ -842,7 +842,7 @@ setScreenActiveMode(modeIndex: number, callback: AsyncCallback<void>): voi
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1400003 | This
window manager service work
abnormally. |
| 1400003 | This
display manager service works
abnormally. |
**示例:**
...
...
@@ -885,7 +885,7 @@ setScreenActiveMode(modeIndex: number): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1400003 | This
window manager service work
abnormally. |
| 1400003 | This
display manager service works
abnormally. |
**示例:**
...
...
@@ -922,7 +922,7 @@ setDensityDpi(densityDpi: number, callback: AsyncCallback<void>): void;
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1400003 | This
window manager service work
abnormally. |
| 1400003 | This
display manager service works
abnormally. |
**示例:**
...
...
@@ -965,7 +965,7 @@ setDensityDpi(densityDpi: number): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1400003 | This
window manager service work
abnormally. |
| 1400003 | This
display manager service works
abnormally. |
**示例:**
...
...
zh-cn/application-dev/reference/apis/js-apis-window.md
浏览文件 @
522c86cd
...
...
@@ -319,7 +319,7 @@ createWindow(config: Configuration, callback: AsyncCallback<Window>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------- |
| 1300001 |
This is repeat operation.
|
| 1300001 |
Repeated operation.
|
| 1300006 | This window context is abnormal. |
**示例:**
...
...
@@ -346,7 +346,7 @@ try {
createWindow(config: Configuration): Promise
<
Window
>
创建子窗口,使用
callback
异步回调。
创建子窗口,使用
Promise
异步回调。
**系统能力:**
SystemCapability.WindowManager.WindowManager.Core
...
...
@@ -368,7 +368,7 @@ createWindow(config: Configuration): Promise<Window>
| 错误码ID | 错误信息 |
| ------- | -------------------------------- |
| 1300001 |
This is repeat operation.
|
| 1300001 |
Repeated operation.
|
| 1300006 | This window context is abnormal. |
**示例:**
...
...
@@ -529,7 +529,7 @@ minimizeAll(id: number, callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -584,7 +584,7 @@ minimizeAll(id: number): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -633,7 +633,7 @@ toggleShownStateForAllAppWindows(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -668,7 +668,7 @@ toggleShownStateForAllAppWindows(): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -703,7 +703,7 @@ setWindowLayoutMode(mode: WindowLayoutMode, callback: AsyncCallback<void>)
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -748,7 +748,7 @@ setWindowLayoutMode(mode: WindowLayoutMode): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1283,8 +1283,8 @@ hideWithAnimation(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300004 |
This operation is not access
. |
| 1300003 | This window manager service work
s
abnormally. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -1321,8 +1321,8 @@ hideWithAnimation(): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300004 |
This operation is not access
. |
| 1300003 | This window manager service work
s
abnormally. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -1425,8 +1425,8 @@ showWithAnimation(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300004 |
This operation is not access
. |
| 1300003 | This window manager service work
s
abnormally. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -1463,8 +1463,8 @@ showWithAnimation(): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300004 |
This operation is not access
. |
| 1300003 | This window manager service work
s
abnormally. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -1498,7 +1498,7 @@ destroyWindow(callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1533,7 +1533,7 @@ destroyWindow(): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1569,7 +1569,7 @@ moveWindowTo(x: number, y: number, callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1615,7 +1615,7 @@ moveWindowTo(x: number, y: number): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1655,7 +1655,7 @@ resize(width: number, height: number, callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1701,7 +1701,7 @@ resize(width: number, height: number): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1742,7 +1742,7 @@ setWindowMode(mode: WindowMode, callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1790,7 +1790,7 @@ setWindowMode(mode: WindowMode): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1901,7 +1901,7 @@ setWindowLayoutFullScreen(isLayoutFullScreen: boolean, callback: AsyncCallback&l
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1947,7 +1947,7 @@ setWindowLayoutFullScreen(isLayoutFullScreen: boolean): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -1987,7 +1987,7 @@ setWindowSystemBarEnable(names: Array<'status' | 'navigation'>, callback: AsyncC
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -2034,7 +2034,7 @@ setWindowSystemBarEnable(names: Array<'status' | 'navigation'>): Promise<void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -2075,7 +2075,7 @@ setWindowSystemBarProperties(systemBarProperties: SystemBarProperties, callback:
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -2127,7 +2127,7 @@ setWindowSystemBarProperties(systemBarProperties: SystemBarProperties): Promise&
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -2257,7 +2257,7 @@ setUIContent(path: string, callback: AsyncCallback<void>): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -2302,7 +2302,7 @@ setUIContent(path: string): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -2344,7 +2344,7 @@ loadContent(path: string, storage: LocalStorage, callback: AsyncCallback<void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -2395,7 +2395,7 @@ loadContent(path: string, storage: LocalStorage): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -2800,7 +2800,7 @@ bindDialogTarget(token: rpc.RemoteObject, deathCallback: Callback<void>, c
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -2870,7 +2870,7 @@ bindDialogTarget(token: rpc.RemoteObject, deathCallback: Callback<void>):
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3141,7 +3141,7 @@ setWindowBrightness(brightness: number, callback: AsyncCallback<void>): vo
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3187,7 +3187,7 @@ setWindowBrightness(brightness: number): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3227,7 +3227,7 @@ setWindowFocusable(isFocusable: boolean, callback: AsyncCallback<void>): v
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3273,7 +3273,7 @@ setWindowFocusable(isFocusable: boolean): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3313,7 +3313,7 @@ setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback<void&g
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3359,7 +3359,7 @@ setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3400,7 +3400,7 @@ setWakeUpScreen(wakeUp: boolean): void
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3555,7 +3555,7 @@ setWindowTouchable(isTouchable: boolean, callback: AsyncCallback<void>): v
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3601,7 +3601,7 @@ setWindowTouchable(isTouchable: boolean): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3643,7 +3643,7 @@ setForbidSplitMove(isForbidSplitMove: boolean, callback: AsyncCallback<void&g
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3691,7 +3691,7 @@ setForbidSplitMove(isForbidSplitMove: boolean): Promise<void>
| 错误码ID | 错误信息 |
| ------- | -------------------------------------------- |
| 1300002 | This window state is abnormal. |
| 1300003 | This window manager service work abnormally. |
| 1300003 | This window manager service work
s
abnormally. |
**示例:**
...
...
@@ -3801,7 +3801,7 @@ opacity(opacity: number): void
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -3836,7 +3836,7 @@ scale(scaleOptions: ScaleOptions): void
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -3877,7 +3877,7 @@ rotate(rotateOptions: RotateOptions): void
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -3919,7 +3919,7 @@ translate(translateOptions: TranslateOptions): void
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -3959,7 +3959,7 @@ try {
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -4021,7 +4021,7 @@ setBlur(radius: number): void
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -4056,7 +4056,7 @@ setBackdropBlur(radius: number): void
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -4091,7 +4091,7 @@ setBackdropBlurStyle(blurStyle: BlurStyle): void
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -4129,7 +4129,7 @@ setShadow(radius: number, color?: string, offsetX?: number, offsetY?: number): v
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
@@ -4164,7 +4164,7 @@ setCornerRadius(cornerRadius: number): void
| 错误码ID | 错误信息 |
| ------- | ------------------------------ |
| 1300002 | This window state is abnormal. |
| 1300004 |
This operation is not access
. |
| 1300004 |
Unauthorized operation
. |
**示例:**
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-display.md
浏览文件 @
522c86cd
# 屏幕错误码
## 1400001 无效
虚拟屏
## 1400001 无效
的显示设备
**错误信息**
<br>
This is invalid
screen.
Invalid display or
screen.
**错误描述**
<br>
当操作无效的虚拟屏时,会报此错误码。
当操作无效的
显示设备,包括
虚拟屏时,会报此错误码。
**可能原因**
**可能原因**
<br>
1.
虚拟屏未创建。
2.
虚拟屏已销毁。
**处理步骤**
**处理步骤**
<br>
1.
在操作虚拟屏前,检查该虚拟屏是否已经存在,确保已创建该虚拟屏。
2.
在操作虚拟屏前,检查虚拟屏是否已被销毁,确保其未被销毁,再进行相关操作。
## 1400002 无权限操作
**错误信息**
<br>
This operation is not access
.
Unauthorized operation
.
**错误描述**
<br>
当对无操作权限的对象进行操作时,会报此错误码。
...
...
@@ -30,13 +30,13 @@ This operation is not access.
## 1400003 系统服务工作异常
**错误信息**
<br>
This
window manager service work
abnormally.
This
display manager service works
abnormally.
**错误描述**
<br>
当系统服务工作异常时,会报此错误码。
**可能原因**
1.
窗口内部
服务没有正常启动。
**可能原因**
<br>
1.
屏幕管理
服务没有正常启动。
2.
底层图形图像合成渲染异常。
**处理步骤**
<br>
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-window.md
浏览文件 @
522c86cd
...
...
@@ -2,7 +2,7 @@
## 1300001 重复操作
**错误信息**
<br>
This is repeat
operation.
Repeated
operation.
**错误描述**
<br>
当进行某些重复操作时,系统会报此错误码。
...
...
@@ -28,7 +28,7 @@ This window state is abnormal.
## 1300003 系统服务工作异常
**错误信息**
<br>
This window manager service work abnormally.
This window manager service work
s
abnormally.
**错误描述**
<br>
当系统服务工作异常时,会报此错误码。
...
...
@@ -41,7 +41,7 @@ This window manager service work abnormally.
## 1300004 无权限操作
**错误信息**
<br>
This operation is not access
.
Unauthorized operation
.
**错误描述**
<br>
当对无操作权限的对象进行操作时,会报此错误码。
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录