未验证 提交 f6ecb0dc 编写于 作者: O openharmony_ci 提交者: Gitee

!7812 翻译完成:6598+6749+7462 screen 接口修改

Merge pull request !7812 from wusongqing/TR6598
......@@ -223,6 +223,8 @@ Creates a virtual screen. This API uses an asynchronous callback to return the r
**System capability**: SystemCapability.WindowManager.WindowManager.Core
**Required permissions**: ohos.permission.CAPTURE_SCREEN (mandatory when **VirtualScreenOption.surfaceId** is valid; available only to system applications)
**Parameters**
| Name | Type | Mandatory| Description |
......@@ -256,6 +258,8 @@ Creates a virtual screen. This API uses a promise to return the result.
**System capability**: SystemCapability.WindowManager.WindowManager.Core
**Required permissions**: ohos.permission.CAPTURE_SCREEN (mandatory when **VirtualScreenOption.surfaceId** is valid available only to system applications)
**Parameters**
| Name | Type | Mandatory| Description |
| ------- | ------------------------------------------- | ---- | ------------------------ |
......@@ -343,6 +347,8 @@ Sets the surface for a virtual screen. This API uses an asynchronous callback to
**System capability**: SystemCapability.WindowManager.WindowManager.Core
**Required permissions**: ohos.permission.CAPTURE_SCREEN (available only to system applications)
**Parameters**
| Name | Type | Mandatory| Description |
......@@ -372,6 +378,8 @@ Sets the surface for a virtual screen. This API uses a promise to return the res
**System capability**: SystemCapability.WindowManager.WindowManager.Core
**Required permissions**: ohos.permission.CAPTURE_SCREEN (available only to system applications)
**Parameters**
| Name | Type | Mandatory| Description |
| --------- | ------ | ---- | ------------- |
......@@ -696,9 +704,6 @@ Enumerates the screen orientations.
| HORIZONTAL | 2 | Horizontal. |
| REVERSE_VERTICAL | 3 | Reverse vertical. |
| REVERSE_HORIZONTAL | 4 | Reverse horizontal. |
| SENSOR | 5 | The screen orientation follows the sensor direction. |
| SENSOR_VERTICAL | 6 | The screen orientation follows the sensor direction vertically.|
| SENSOR_HORIZONTAL | 7 | The screen orientation follows the sensor direction horizontally.|
## ScreenModeInfo
Defines the screen mode information.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册