更新时间:2026-04-10 GMT+08:00
流异常回调
方法名称
void onFailure(int code, String message)
功能描述
流异常回调。该方法在云手机连接或运行过程中出现异常时触发。
参数说明
| 字段名 | 类型 | 说明 |
|---|---|---|
| code | int | 错误码 |
| message | String | 错误消息 |
返回值
无
调用示例
无
父主题: 基础回调方法
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
void onFailure(int code, String message)
流异常回调。该方法在云手机连接或运行过程中出现异常时触发。
| 字段名 | 类型 | 说明 |
|---|---|---|
| code | int | 错误码 |
| message | String | 错误消息 |
无
无