C++SDK
1.0.0
|
#include <mremotectrl.h>
类 | |
class | IListener |
Public 成员函数 | |
virtual Result | setListener (IRemoteCtrllor::IListener *listener)=0 |
virtual Result | ApplyCtrl (std::string controledUserId)=0 |
virtual Result | CancelCtrl (std::string controledUserId)=0 |
virtual int | getCurStauts ()=0 |
virtual int | getRole ()=0 |
virtual std::string | getToken ()=0 |
virtual Result | SendMouseCmd (int mousetype, int xpos, int ypos, int wndwidth, int wndheight, std::string touserId="")=0 |
virtual Result | SendKeyBoardCmd (std::vector< uint32 > ctrlkey, std::vector< uint32 > keyvalue, std::string touserId="")=0 |
virtual void | clearStatus ()=0 |
virtual RemoteInfo | getRemoteInfo ()=0 |
virtual | ~IRemoteCtrllor () |
![]() | |
virtual IRoom * | getRoom ()=0 |
virtual IMUserManager * | getUserManager ()=0 |
virtual bool | isSelfUser (const UserId &userId) const =0 |
virtual bool | isSelfDevice (const DeviceId &deviceId) const =0 |
virtual const UserId | getOwnerId (const DeviceId &deviceId) const =0 |
virtual const String & | getOwnerName (const DeviceId &deviceId) const =0 |
额外继承的成员函数 | |
![]() | |
virtual | ~IModule () |
|
inlinevirtual |
|
pure virtual |
申请远端控制
[in] | controledUserId | 申请控制的用户ID |
|
pure virtual |
停止远端控制
[in] | controledUserId | 申请控制的用户ID |
|
pure virtual |
清空当前状态
note 用户退出房间或者断线时使用
|
pure virtual |
获取用户状态
|
pure virtual |
|
pure virtual |
获取控制中的角色
|
pure virtual |
获取到唯一标示符
|
pure virtual |
发送键盘命令
[in] | ctrlkey | 控制按键,ctrl,alt,shift ... |
[in] | keyvalue | 具体的键值 |
[in] | touserId | 空值,暂时不用 |
|
pure virtual |
发送鼠标命令
[in] | mousetype | 控制端用户ID |
[in] | xpos | x坐标在控制端屏幕位置 |
[in] | ypos | y坐标在控制端屏幕位置 |
[in] | wndwidth | 控制端屏幕宽度 |
[in] | wndheight | 控制端屏幕高度 |
[in] | touserId | 空值,暂时不用 |
|
pure virtual |