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

#include <ichannelchatroommanagerlistener.h>

Inheritance diagram for ttv::chat::IChannelChatRoomManagerListener:
ttv::binding::java::NativeListenerProxy< IChannelChatRoomManagerListener > ttv::binding::java::JavaIChannelChatRoomManagerListenerProxy

Public Member Functions

virtual void PurgeMessages (UserId userId, ChannelId channelId, Timestamp purgeAfter)=0
 
virtual void RoomCreated (ChannelId ownerId, ChatRoomInfo &&roomInfo)=0
 
virtual void RoomDeleted (ChannelId ownerId, ChatRoomInfo &&roomInfo)=0
 

Detailed Description

Listener interface for unsolicited events from IChannelChatRoomManager.

Member Function Documentation

◆ PurgeMessages()

virtual void ttv::chat::IChannelChatRoomManagerListener::PurgeMessages ( UserId  userId,
ChannelId  channelId,
Timestamp  purgeAfter 
)
pure virtual

Called when a user's messages need to be purged from chat rooms after a ban/timeout.

Parameters
[in]userIdThe id of the user whose messages need to be purged.
[in]channelIdThe channel that needs to be purged of the messages.
[in]purgeAfterThe timestamp to start purging messages from that user.

Implemented in ttv::binding::java::JavaIChannelChatRoomManagerListenerProxy.

◆ RoomCreated()

virtual void ttv::chat::IChannelChatRoomManagerListener::RoomCreated ( ChannelId  ownerId,
ChatRoomInfo &&  roomInfo 
)
pure virtual

Called when a new room is created in the channel.

Parameters
[in]ownerIdThe id of the channel that owns the room.
[in]roomInfoThe information of the newly created room. The view and owner fields are invalid.

Implemented in ttv::binding::java::JavaIChannelChatRoomManagerListenerProxy.

◆ RoomDeleted()

virtual void ttv::chat::IChannelChatRoomManagerListener::RoomDeleted ( ChannelId  ownerId,
ChatRoomInfo &&  roomInfo 
)
pure virtual

Called when a new room is deleted in the channel.

  • Parameters
    [in]ownerIdThe id of the channel that owns the room.
    [in]roomInfoThe information of the deleted room. The view and owner fields are invalid.

Implemented in ttv::binding::java::JavaIChannelChatRoomManagerListenerProxy.


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