Appearance
获取支持的分辨率
注意
该事件为获取支持的分辨率的回调
类型名称
onGetSupportedSizeList
回调示例
json
{
"message": "",
"code": 0,
"data": {
"list": [
{
"type": 7,
"fps": 30,
"height": 720,
"width": 1280,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 120,
"width": 160,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 144,
"width": 176,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 240,
"width": 320,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 288,
"width": 352,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 480,
"width": 848,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 600,
"width": 800,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 540,
"width": 960,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 720,
"width": 1280,
"fpsList": [
30
]
},
{
"type": 7,
"fps": 30,
"height": 480,
"width": 640,
"fpsList": [
30
]
}
]
}
}回调说明
| 参数名 | 参数类型 | 参数描述 |
|---|---|---|
| message | String | 消息提示 |
| data | Object | 数据对象 |
| data.list | Array[Object] | 列表 |
| data.list.type | Integer | 类型 |
| data.list.fps | Integer | 帧率 |
| data.height | Integer | 高度 |
| data.list.width | Integer | 宽度 |
| data.list.fpsList | Array[Integer] | 帧率列表 |
| code | Integer | 返回类型,0.成功,其他:失败 |