更新时间:2022-03-21 GMT+08:00
分享

OnConnectResult

回调方法描述

连接接口回调结果事件。

回调方法定义

/* 连接结果事件 */   
void OnConnectResult(DeviceInfo* deviceInfo) {}

参数描述

参数

是否必须

类型

描述

deviceInfo

4.6.5.2.5 DeviceInfo*

远端设备信息

示例代码

void ShareEventHandler::OnConnectResult(DeviceInfo* deviceInfo)   
{   
   // 上报UI显示设备名   
}  
分享:

    相关文档

    相关产品