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

#include <ichatroomlistener.h>

Inheritance diagram for ttv::chat::IChatRoomListener:
ttv::binding::java::NativeListenerProxy< IChatRoomListener > ttv::binding::java::JavaIChatRoomListenerProxy

Public Member Functions

virtual void MessageReceived (const std::string &roomId, ChatRoomMessage &&message)=0
 
virtual void MessageEdited (const std::string &roomId, ChatRoomMessage &&message)=0
 
virtual void MessageDeleted (const std::string &roomId, ChatRoomMessage &&message)=0
 
virtual void RoomUpdated (ChatRoomInfo &&roomInfo)=0
 

Detailed Description

Listener interface for unsolicited events from IChatRoom.

Member Function Documentation

◆ MessageDeleted()

virtual void ttv::chat::IChatRoomListener::MessageDeleted ( const std::string &  roomId,
ChatRoomMessage &&  message 
)
pure virtual

Called when another user's old message is deleted.

Parameters
[in]roomIdThe id of the room that owns the deleted message.
[in]messageThe message that was deleted.

Implemented in ttv::binding::java::JavaIChatRoomListenerProxy.

◆ MessageEdited()

virtual void ttv::chat::IChatRoomListener::MessageEdited ( const std::string &  roomId,
ChatRoomMessage &&  message 
)
pure virtual

Called when another user's old message is edited.

Parameters
[in]roomIdThe id of the room that owns the edited message.
[in]messageThe message that was edited.

Implemented in ttv::binding::java::JavaIChatRoomListenerProxy.

◆ MessageReceived()

virtual void ttv::chat::IChatRoomListener::MessageReceived ( const std::string &  roomId,
ChatRoomMessage &&  message 
)
pure virtual

Called when a new message is received.

Parameters
[in]roomIdThe id of the room the message was sent to.
[in]messageThe message that was received.

Implemented in ttv::binding::java::JavaIChatRoomListenerProxy.

◆ RoomUpdated()

virtual void ttv::chat::IChatRoomListener::RoomUpdated ( ChatRoomInfo &&  roomInfo)
pure virtual

Called the chat room's information is changed. Returned object fields "view" and "owner" are invalid data.

Parameters
[in]roomInfoThe newly updated information of the room.

Implemented in ttv::binding::java::JavaIChatRoomListenerProxy.


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