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

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

#include <yy-api-ex-client.h>

Public 成员函数

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

详细描述

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

成员函数说明

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

获取频道消息接口

返回
IChannelAppMsg *, error NULL
virtual IChannelChat* yy::IChannelEx::GetChannelChat ( )
pure virtual

获取频道用户列表接口

返回
IChannelChat *, 成功为有效指针,失败返回 NULL
virtual int yy::IChannelEx::GetChannelInfo ( unsigned int  cid,
IChannelInfo **  info 
)
pure virtual

通过频道id获取频道信息

参数
unsignedint cid [in],频道或者子频道id
IChannelInfo**, error NULL
返回
int, 0 success ,其他值 error,参考错误代码表
virtual const IChannelNode* yy::IChannelEx::GetChannelTree ( )
pure virtual

获取频道树接口

返回
IChannelNode *, error NULL
virtual int yy::IChannelEx::GetCurrentChannelInfo ( IChannelInfo **  info)
pure virtual

获取大频道信息

参数
IChannelInfo**, error NULL
返回
int, 0 success ,其他值 error,参考错误代码表
virtual int yy::IChannelEx::GetCurrentSubChannelInfo ( IChannelInfo **  info)
pure virtual

获取当前子频道信息

参数
IChannelInfo**, error NULL
返回
int, 0 success ,其他值 error,参考错误代码表
virtual IChannelMicList* yy::IChannelEx::GetMicList ( )
pure virtual

获取麦序接口

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

获取接待频道接口

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

获取频道子窗口接口

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

获取频道 tab页接口

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

获取模板接口

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

获取频道用户控制器

返回
IChannelUserController *, 有效指针值 success, NULl error
virtual IChannelUserList* yy::IChannelEx::GetUserList ( )
pure virtual

获取频道用户列表接口

返回
IChannelUserList *, 成功为有效指针,失败返回 NULL
virtual IChannelUserListPopMenu* yy::IChannelEx::GetUserListPopMenu ( )
pure virtual

获取右键菜单接口

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

注册频道事件

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

反注册频道事件

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