Call/Dialog

1)HandleAlert(处理弹窗)

接口支持最低版本号:3.8.10

此接口异步返回调用结果,需要订阅 Dialog 事件
sub_event: HandleAlert

**request **

{
    "jsonrpc":"2.0",
    "id":"xxx",
    "method":"Call/Dialog",
    "params":{
        "action":"HandleAlert",
        "action_params":{
           	   "alert_id":"",  // AlertShow 事件返回的弹窗id
           	   "select_button_id": 0  // AlertShow 事件返回的button id
        }
    }
}

response

{
    "jsonrpc":"2.0",
    "method":"Call/Dialog",
    "id":"xxx",
    "result":{
		"error_code":0
        "message":"",
        "action":"HandleAlert",
    }
}
下载 Call/Dialog.pdf
Copyright(C)2023 HFBangFu Inc. All Rights Reserved 皖ICP备12017563号-5