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

#include <java_ichatroomnotificationslistener_proxy.h>

Inheritance diagram for ttv::binding::java::JavaIChatRoomNotificationsListenerProxy:
ttv::binding::java::NativeListenerProxy< IChatRoomNotificationsListener > ttv::chat::IChatRoomNotificationsListener

Public Member Functions

 JavaIChatRoomNotificationsListenerProxy ()
 
virtual void UserTimedOut (UserId userId, ChannelId channelId, Timestamp expiresAt) override
 
virtual void UserBanned (UserId userId, ChannelId channelId) override
 
virtual void UserUnbanned (UserId userId, ChannelId channelId) override
 
virtual void RoomViewUpdated (UserId userId, ChannelId ownerId, const std::string &roomId, ChatRoomView &&roomViewInfo) override
 
virtual void RoomMentionReceived (UserId userId, RoomMentionInfo &&mentionInfo) override
 
void SetListener (jobject jListener)
 
jobject GetListener () const
 

Protected Attributes

GlobalJavaObjectReference mJavaListener
 
JavaClassInfo mListenerInfo
 

Constructor & Destructor Documentation

◆ JavaIChatRoomNotificationsListenerProxy()

ttv::binding::java::JavaIChatRoomNotificationsListenerProxy::JavaIChatRoomNotificationsListenerProxy ( )

Member Function Documentation

◆ GetListener()

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

◆ RoomMentionReceived()

virtual void ttv::binding::java::JavaIChatRoomNotificationsListenerProxy::RoomMentionReceived ( UserId  userId,
RoomMentionInfo &&  mentionInfo 
)
overridevirtual

Called when the user is mentioned in a chat room.

Parameters
[in]userIdThe id of the user who is being mentioned.
[in]mentionInfoInformation about the mention message.

Implements ttv::chat::IChatRoomNotificationsListener.

◆ RoomViewUpdated()

virtual void ttv::binding::java::JavaIChatRoomNotificationsListenerProxy::RoomViewUpdated ( UserId  userId,
ChannelId  roomOwnerId,
const std::string &  roomId,
ChatRoomView &&  roomViewInfo 
)
overridevirtual

Called when the user's view of the chat room is changed.

Parameters
[in]userIdThe id of the user whose room view has been updated.
[in]roomOwnerIdThe id of the channel that owns the room.
[in]roomIdThe id of the room that has an updated view.
[in]roomViewInfoThe new view information for the user and room.

Implements ttv::chat::IChatRoomNotificationsListener.

◆ SetListener()

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

◆ UserBanned()

virtual void ttv::binding::java::JavaIChatRoomNotificationsListenerProxy::UserBanned ( UserId  userId,
ChannelId  channelId 
)
overridevirtual

Called when the user is banned from a channel.

Parameters
[in]userIdThe id of the user that was banned.
[in]channelIdThe channel that the user was banned from.

Implements ttv::chat::IChatRoomNotificationsListener.

◆ UserTimedOut()

virtual void ttv::binding::java::JavaIChatRoomNotificationsListenerProxy::UserTimedOut ( UserId  userId,
ChannelId  channelId,
Timestamp  expiresAt 
)
overridevirtual

Called when the user is timed out from a channel.

Parameters
[in]userIdThe id of the user that was timed out.
[in]channelIdThe channel that the user was timed out of.
[in]expiresAtThe timestamp when the timeout is over.

Implements ttv::chat::IChatRoomNotificationsListener.

◆ UserUnbanned()

virtual void ttv::binding::java::JavaIChatRoomNotificationsListenerProxy::UserUnbanned ( UserId  userId,
ChannelId  channelId 
)
overridevirtual

Called when the user is unbanned from a channel.

Parameters
[in]userIdThe id of the user that was unbanned
[in]channelIdThe channel that the user was unbanned from.

Implements ttv::chat::IChatRoomNotificationsListener.

Member Data Documentation

◆ mJavaListener

◆ mListenerInfo


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