- 自动化接口
- 截图
- 动作
- 启停自动化
- 相册
- 其他
- 中控接口
- 辅助助手接口
校正屏幕坐标系
开发中
POST
/openapi/adjustScreenOrientation
请求参数
Body 参数application/json
deviceId
string
设备ID
orientation
integer
必需
示例
{
"deviceId": "51",
"orientation": 37
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/openapi/adjustScreenOrientation' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceId": "51",
"orientation": 37
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
orientation
integer
必需
screenWidth
integer
当前屏幕宽度
screenHeight
integer
当前屏幕高度
示例
{
"code": 0,
"data": {
"orientation": 1,
"screenWidth": 750,
"screenHeight": 1334
}
}
修改于 2022-08-17 06:36:13