Twitch SDK (Internal)
Public Member Functions | List of all members
ttv::chat::IChatChannelListener Class Referenceabstract

#include <chatlistener.h>

Inheritance diagram for ttv::chat::IChatChannelListener:
ttv::binding::java::NativeListenerProxy< IChatChannelListener > ttv::chat::ChatChannelListenerProxy ttv::chat::ChatChannelSet::InternalChannelListener ttv::binding::java::JavaChatChannelListenerProxy

Public Member Functions

virtual void ChatChannelStateChanged (UserId userId, ChannelId channelId, ChatChannelState state, TTV_ErrorCode ec)=0
 
virtual void ChatChannelInfoChanged (UserId userId, ChannelId channelId, const ChatChannelInfo &channelInfo)=0
 
virtual void ChatChannelRestrictionsChanged (UserId userId, ChannelId channelId, const ChatChannelRestrictions &restrictions)=0
 
virtual void ChatChannelLocalUserChanged (UserId userId, ChannelId channelId, const ChatUserInfo &userInfo)=0
 
virtual void ChatChannelMessagesReceived (UserId userId, ChannelId channelId, const std::vector< LiveChatMessage > &messageList)=0
 
virtual void ChatChannelSubscriptionNoticeReceived (UserId userId, ChannelId channelId, const SubscriptionNotice &notice)=0
 
virtual void ChatChannelFirstTimeChatterNoticeReceived (UserId userId, ChannelId channelId, const FirstTimeChatterNotice &notice)=0
 
virtual void ChatChannelRaidNoticeReceived (UserId userId, ChannelId channelId, const RaidNotice &notice)=0
 
virtual void ChatChannelUnraidNoticeReceived (UserId userId, ChannelId channelId, const UnraidNotice &notice)=0
 
virtual void ChatChannelMessagesCleared (UserId userId, ChannelId channelId)=0
 
virtual void ChatChannelUserMessagesCleared (UserId userId, ChannelId channelId, UserId clearUserId)=0
 
virtual void ChatChannelHostTargetChanged (UserId userId, ChannelId channelId, const std::string &targetChannelName, uint32_t numViewers)=0
 
virtual void ChatChannelNoticeReceived (UserId userId, ChannelId channelId, const std::string &noticeId, const std::map< std::string, std::string > &params)=0
 

Detailed Description

Listener interface for callbacks from ChatChannel.

Member Function Documentation

◆ ChatChannelFirstTimeChatterNoticeReceived()

virtual void ttv::chat::IChatChannelListener::ChatChannelFirstTimeChatterNoticeReceived ( UserId  userId,
ChannelId  channelId,
const FirstTimeChatterNotice notice 
)
pure virtual

◆ ChatChannelHostTargetChanged()

virtual void ttv::chat::IChatChannelListener::ChatChannelHostTargetChanged ( UserId  userId,
ChannelId  channelId,
const std::string &  targetChannelName,
uint32_t  numViewers 
)
pure virtual

◆ ChatChannelInfoChanged()

virtual void ttv::chat::IChatChannelListener::ChatChannelInfoChanged ( UserId  userId,
ChannelId  channelId,
const ChatChannelInfo channelInfo 
)
pure virtual

◆ ChatChannelLocalUserChanged()

virtual void ttv::chat::IChatChannelListener::ChatChannelLocalUserChanged ( UserId  userId,
ChannelId  channelId,
const ChatUserInfo userInfo 
)
pure virtual

◆ ChatChannelMessagesCleared()

virtual void ttv::chat::IChatChannelListener::ChatChannelMessagesCleared ( UserId  userId,
ChannelId  channelId 
)
pure virtual

◆ ChatChannelMessagesReceived()

virtual void ttv::chat::IChatChannelListener::ChatChannelMessagesReceived ( UserId  userId,
ChannelId  channelId,
const std::vector< LiveChatMessage > &  messageList 
)
pure virtual

◆ ChatChannelNoticeReceived()

virtual void ttv::chat::IChatChannelListener::ChatChannelNoticeReceived ( UserId  userId,
ChannelId  channelId,
const std::string &  noticeId,
const std::map< std::string, std::string > &  params 
)
pure virtual

◆ ChatChannelRaidNoticeReceived()

virtual void ttv::chat::IChatChannelListener::ChatChannelRaidNoticeReceived ( UserId  userId,
ChannelId  channelId,
const RaidNotice notice 
)
pure virtual

◆ ChatChannelRestrictionsChanged()

virtual void ttv::chat::IChatChannelListener::ChatChannelRestrictionsChanged ( UserId  userId,
ChannelId  channelId,
const ChatChannelRestrictions restrictions 
)
pure virtual

◆ ChatChannelStateChanged()

virtual void ttv::chat::IChatChannelListener::ChatChannelStateChanged ( UserId  userId,
ChannelId  channelId,
ChatChannelState  state,
TTV_ErrorCode  ec 
)
pure virtual

◆ ChatChannelSubscriptionNoticeReceived()

virtual void ttv::chat::IChatChannelListener::ChatChannelSubscriptionNoticeReceived ( UserId  userId,
ChannelId  channelId,
const SubscriptionNotice notice 
)
pure virtual

◆ ChatChannelUnraidNoticeReceived()

virtual void ttv::chat::IChatChannelListener::ChatChannelUnraidNoticeReceived ( UserId  userId,
ChannelId  channelId,
const UnraidNotice notice 
)
pure virtual

◆ ChatChannelUserMessagesCleared()

virtual void ttv::chat::IChatChannelListener::ChatChannelUserMessagesCleared ( UserId  userId,
ChannelId  channelId,
UserId  clearUserId 
)
pure virtual

Fired when all messages from the given user should be cleared in the given channel.

Implemented in ttv::chat::ChatChannelListenerProxy, ttv::chat::ChatChannelSet::InternalChannelListener, and ttv::binding::java::JavaChatChannelListenerProxy.


The documentation for this class was generated from the following file: