Twitch SDK (Internal)
Public Member Functions | Protected Attributes | List of all members
ttv::binding::java::JavaIChannelChatRoomManagerListenerProxy Class Reference

#include <java_ichannelchatroommanagerlistener_proxy.h>

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

Public Member Functions

 JavaIChannelChatRoomManagerListenerProxy ()
 
virtual void PurgeMessages (UserId userId, ChannelId channelId, Timestamp purgeAfter) override
 
virtual void RoomCreated (ChannelId ownerId, ChatRoomInfo &&roomInfo) override
 
virtual void RoomDeleted (ChannelId ownerId, ChatRoomInfo &&roomInfo) override
 
void SetListener (jobject jListener)
 
jobject GetListener () const
 

Protected Attributes

GlobalJavaObjectReference mJavaListener
 
JavaClassInfo mListenerInfo
 

Constructor & Destructor Documentation

◆ JavaIChannelChatRoomManagerListenerProxy()

ttv::binding::java::JavaIChannelChatRoomManagerListenerProxy::JavaIChannelChatRoomManagerListenerProxy ( )

Member Function Documentation

◆ GetListener()

jobject ttv::binding::java::NativeListenerProxy< IChannelChatRoomManagerListener >::GetListener ( ) const
inlineinherited

◆ PurgeMessages()

virtual void ttv::binding::java::JavaIChannelChatRoomManagerListenerProxy::PurgeMessages ( UserId  userId,
ChannelId  channelId,
Timestamp  purgeAfter 
)
overridevirtual

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.

Implements ttv::chat::IChannelChatRoomManagerListener.

◆ RoomCreated()

virtual void ttv::binding::java::JavaIChannelChatRoomManagerListenerProxy::RoomCreated ( ChannelId  ownerId,
ChatRoomInfo &&  roomInfo 
)
overridevirtual

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.

Implements ttv::chat::IChannelChatRoomManagerListener.

◆ RoomDeleted()

virtual void ttv::binding::java::JavaIChannelChatRoomManagerListenerProxy::RoomDeleted ( ChannelId  ownerId,
ChatRoomInfo &&  roomInfo 
)
overridevirtual

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.

Implements ttv::chat::IChannelChatRoomManagerListener.

◆ SetListener()

void ttv::binding::java::NativeListenerProxy< IChannelChatRoomManagerListener >::SetListener ( jobject  jListener)
inlineinherited

Member Data Documentation

◆ mJavaListener

◆ mListenerInfo


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