更新时间:2022-03-21 GMT+08:00
设置投屏设备类型
接口描述
该接口用于设置投屏设备类型。
注意事项
调用开启投屏接口之前调用。
接口定义
/* 设置投屏设备类型 */ int SetDeviceType(ShareDeviceType shareDeviceType);
参数描述
参数 | 是否必须 | 类型 | 描述 |
|---|---|---|---|
shareDeviceType | 是 | 4.6.5.1.9 ShareDeviceType | 投屏设备类型 |
返回值
0 接口调用成功 非0 接口调用失败
示例代码
ShareServiceController* contorller = ShareServiceController::GetInstance();
if (contorller != NULL) {
contorller->SetDeviceType(this->shareDeviceType);
} 父主题:投屏

