Skip to content

获取支持的分辨率

注意

该事件为获取支持的分辨率的回调

类型名称

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
        ]
      }
    ]
  }
}

回调说明

参数名参数类型参数描述
messageString消息提示
dataObject数据对象
data.listArray[Object]列表
data.list.typeInteger类型
data.list.fpsInteger帧率
data.heightInteger高度
data.list.widthInteger宽度
data.list.fpsListArray[Integer]帧率列表
codeInteger返回类型,0.成功,其他:失败