UNPKG

fcr-core

Version:

Core APIs for building online scenes

41 lines (39 loc) 1.17 kB
export let FcrRemoteControlState = /*#__PURE__*/function (FcrRemoteControlState) { /** * 远程控制请求已接收 */ FcrRemoteControlState[FcrRemoteControlState["REQUEST_RECEIVED"] = 0] = "REQUEST_RECEIVED"; /** * 远程控制请求已接受 */ FcrRemoteControlState[FcrRemoteControlState["REQUEST_ACCEPTED"] = 1] = "REQUEST_ACCEPTED"; /** * 远程控制请求已拒绝 */ FcrRemoteControlState[FcrRemoteControlState["REQUEST_REJECTED"] = 2] = "REQUEST_REJECTED"; /** * 远程远控连接已初始化 */ FcrRemoteControlState[FcrRemoteControlState["CONNECT_INITIALIZED"] = 3] = "CONNECT_INITIALIZED"; /** * 远程远控连接已建立 */ FcrRemoteControlState[FcrRemoteControlState["CONNECT_ESTABLISHED"] = 4] = "CONNECT_ESTABLISHED"; /** * 远程控制会话已结束 */ FcrRemoteControlState[FcrRemoteControlState["SESSION_ENDED"] = 5] = "SESSION_ENDED"; return FcrRemoteControlState; }({}); /** * The action of the remote control session. * 0: request * 1: accept * 2: reject * 3: end */ /** * The action of the remote control session server response or request. * 0: receive * 1: accept */