YYClientSDK  beta 1.15
 全部  函数 枚举 枚举值
Public 成员函数 | 所有成员列表
yy::IChannel结构体 参考abstract

[interface] 频道接口 获取频道相关接口的入口,其中包括频道信息,子频道信息,麦序接口,频道子窗口接口,频道应用消息接口,频道信息 更多...

#include <yy-api-client.h>

Public 成员函数

virtual IChannelInfoGetCurrentSubChannelInfo ()=0
 获取当前子频道信息
 
virtual IChannelInfoGetCurrentChannelInfo ()=0
 获取大频道信息
 
virtual IChannelInfoGetChannelInfo (unsigned int cid)=0
 通过频道id获取频道信息
 
virtual const IChannelNodeGetChannelTree ()=0
 获取频道树接口
 
virtual IChannelMicListGetMicList ()=0
 获取麦序接口
 
virtual IChannelUserListPopMenuGetUserListPopMenu ()=0
 获取右键菜单接口
 
virtual IChannelAppMsgGetAppMsg ()=0
 获取频道消息接口
 
virtual IChannelSubWindowGetSubWin ()=0
 获取频道子窗口接口
 
virtual int RegisterChannelEvent (IChannelEvent *e)=0
 注册频道事件
 
virtual int UnRegisterChannelEvent (IChannelEvent *e)=0
 反注册频道事件
 
virtual IChannelTabPageGetTabPage ()=0
 获取频道 tab页接口
 
virtual IChannelUserControllerGetUserController ()=0
 获取频道用户控制器
 
virtual IReceptionChannelGetReceptionChannel ()=0
 获取接待频道接口
 
virtual IChannelTemplateGetTemplate ()=0
 获取频道模板接口
 

详细描述

[interface] 频道接口 获取频道相关接口的入口,其中包括频道信息,子频道信息,麦序接口,频道子窗口接口,频道应用消息接口,频道信息

成员函数说明

virtual IChannelAppMsg* yy::IChannel::GetAppMsg ( )
pure virtual

获取频道消息接口

返回
IChannelAppMsg *, error NULL
virtual IChannelInfo* yy::IChannel::GetChannelInfo ( unsigned int  cid)
pure virtual

通过频道id获取频道信息

参数
unsignedint cid [in],频道或者子频道id
返回
IChannelInfo *, error NULL
virtual const IChannelNode* yy::IChannel::GetChannelTree ( )
pure virtual

获取频道树接口

返回
IChannelNode *, error NULL
virtual IChannelInfo* yy::IChannel::GetCurrentChannelInfo ( )
pure virtual

获取大频道信息

返回
IChannelInfo *, error NULL
virtual IChannelInfo* yy::IChannel::GetCurrentSubChannelInfo ( )
pure virtual

获取当前子频道信息

返回
IChannelInfo *, error NULL
virtual IChannelMicList* yy::IChannel::GetMicList ( )
pure virtual

获取麦序接口

返回
IChannelMicList *,error NULL
virtual IReceptionChannel* yy::IChannel::GetReceptionChannel ( )
pure virtual

获取接待频道接口

返回
IReceptionChannel *, 有效指针值 success, NULl error
virtual IChannelSubWindow* yy::IChannel::GetSubWin ( )
pure virtual

获取频道子窗口接口

返回
IChannelSubWindow *, error NULL
virtual IChannelTabPage* yy::IChannel::GetTabPage ( )
pure virtual

获取频道 tab页接口

返回
IChannelTabPage *, 有效指针值 success, NULl error
virtual IChannelTemplate* yy::IChannel::GetTemplate ( )
pure virtual

获取频道模板接口

返回
IChannelTemplate *, 有效指针值 success, NULl error
virtual IChannelUserController* yy::IChannel::GetUserController ( )
pure virtual

获取频道用户控制器

返回
IChannelUserController *, 有效指针值 success, NULl error
virtual IChannelUserListPopMenu* yy::IChannel::GetUserListPopMenu ( )
pure virtual

获取右键菜单接口

返回
IChannelUserListPopMenu *, error NULL
virtual int yy::IChannel::RegisterChannelEvent ( IChannelEvent e)
pure virtual

注册频道事件

参数
IChannelEvent* e, [in] [not NULL]
返回
int, 0 success, 其他值 error,参考错误代码表
virtual int yy::IChannel::UnRegisterChannelEvent ( IChannelEvent e)
pure virtual

反注册频道事件

参数
IChannelEvent* e [in] [not NULL]
返回
int, 0 success,其他值 error,查看错误代码表