@swaiot/jssdk
Version:
a jssdk for coocaa system
34 lines (33 loc) • 1.46 kB
TypeScript
import ICCChannel from "../../../modules/channel/Channel";
import { ICommonParams, IRemoveListenerParams } from "../../../modules/IModule";
declare class ChannelImpl implements ICCChannel {
private static instance;
private module;
private PROTO_VERSION;
private extras;
private constructor();
static getModule(): ChannelImpl;
isLAN(obj?: ICommonParams): void;
getConnectDeviceInfo(obj?: ICommonParams): void;
getBindCode(obj?: ICommonParams): void;
getSpaceId(obj?: ICommonParams): void;
startConnectDevice(obj?: ICommonParams): void;
startConnectWiFi(obj?: ICommonParams): void;
sendMsg(obj: ICommonParams): void;
sendBroadcast(obj: ICommonParams): void;
updateStatus(obj: ICommonParams): void;
sendVideoMsg(obj: ICommonParams): void;
sendAudioMsg(obj: ICommonParams): void;
sendDocMsg(obj: ICommonParams): void;
sendImageMsg(obj: ICommonParams): void;
sendBrowserMsg(obj: ICommonParams): void;
sendKeyMsg(obj: ICommonParams): void;
sendSSEMsg(obj: ICommonParams): void;
addMsgReceiveListener(obj: ICommonParams): void;
addStatusReceiveListener(obj: ICommonParams): void;
enableTransferMessage(obj: ICommonParams): void;
removeMsgReceiveListener(obj: IRemoveListenerParams): void;
removeStatusReceiveListener(obj: IRemoveListenerParams): void;
makeExtras(obj: ICommonParams): string;
}
export default ChannelImpl;