Sendbird Chat SDK for Unreal
|
#include <SBDBaseChannel.h>
Public Member Functions | |
virtual void | MessageReceived (SBDBaseChannel *channel, SBDBaseMessage *message) |
virtual void | MessageUpdated (SBDBaseChannel *channel, SBDBaseMessage *message) |
virtual void | ReadReceiptUpdated (SBDGroupChannel *channel) |
virtual void | InvitationReceived (SBDGroupChannel *channel, const std::vector< SBDUser > &invitees, SBDUser &inviter) |
virtual void | InvitationDeclined (SBDGroupChannel *channel, SBDUser &invitee, SBDUser &inviter) |
virtual void | UserJoined (SBDGroupChannel *channel, SBDUser &user) |
virtual void | UserLeft (SBDGroupChannel *channel, SBDUser &user) |
virtual void | UserEntered (SBDOpenChannel *channel, SBDUser &user) |
virtual void | UserExited (SBDOpenChannel *channel, SBDUser &user) |
virtual void | UserMuted (SBDOpenChannel *channel, SBDUser &user) |
virtual void | UserUnmuted (SBDOpenChannel *channel, SBDUser &user) |
virtual void | UserBanned (SBDOpenChannel *channel, SBDUser &user) |
virtual void | UserUnbanned (SBDOpenChannel *channel, SBDUser &user) |
virtual void | ChannelFrozen (SBDOpenChannel *channel) |
virtual void | ChannelUnfrozen (SBDOpenChannel *channel) |
virtual void | ChannelChanged (SBDBaseChannel *channel) |
virtual void | ChannelDeleted (const std::wstring &channel_url, SBDChannelType channel_type) |
virtual void | MessageDeleted (SBDBaseChannel *channel, uint64_t message_id) |
virtual void | ChannelMetaDataCreated (SBDBaseChannel *channel, const std::map< std::wstring, std::wstring > &created_meta_data) |
virtual void | ChannelMetaDataUpdated (SBDBaseChannel *channel, const std::map< std::wstring, std::wstring > &updated_meta_data) |
virtual void | ChannelMetaDataDeleted (SBDBaseChannel *channel, const std::vector< std::wstring > &deleted_meta_data) |
virtual void | ChannelMetaCountersCreated (SBDBaseChannel *channel, const std::map< std::wstring, int64_t > &created_meta_counters) |
virtual void | ChannelMetaCountersUpdated (SBDBaseChannel *channel, const std::map< std::wstring, int64_t > &updated_meta_counters) |
virtual void | ChannelMetaCountersDeleted (SBDBaseChannel *channel, const std::vector< std::wstring > &deleted_meta_counters) |
virtual void | MentionReceived (SBDBaseChannel *channel, SBDBaseMessage *message) |
virtual void | ChannelWasHidden (SBDGroupChannel *channel) |
virtual void | OperatorUpdated (SBDBaseChannel *channel) |
An object that adopts the SBDChannelHandler
class is responsible for receiving the events in the channel. Some of virtual methods are common for the SBDBaseChannel
. However, there are virtual methods for the SBDOpenChannel
and SBDGroupChannel
exclusive. The SBDChannelHandler
can be added by [void AddChannelHandler(std::wstring identifier, SBDChannelHandler* handler)
]() in SBDMain
. Every SBDChannelHandler
method which is added is going to receive events.
SBDChannelHandler
class is invalid, the delegate has to be removed by the identifier via [void RemoveChannelHandler(string identifier)
]() in SBDMain
. If you miss this, it will cause the crash.
|
inlinevirtual |
A callback when an open channel was changed.
channel | The open channel. |
|
inlinevirtual |
A callback when an open channel was deleted.
channel_url | The open channel. |
|
inlinevirtual |
A callback when an open channel was frozen.
channel | The open channel. |
|
inlinevirtual |
A callback when meta counters were created in the channel.
channel | The channel that the meta counters were created. |
created_meta_counters | The created meta counters. |
|
inlinevirtual |
A callback when meta counters were deleted in the channel.
channel | The channel that the meta counters were deleted. |
deleted_meta_counters | The keys of the deleted meta counters. |
|
inlinevirtual |
A callback when meta counters were updated in the channel.
channel | The channel that the meta counters were updated. |
updated_meta_counters | The updated meta counters. |
|
inlinevirtual |
A callback when meta data was created in the channel.
channel | The channel that the meta data was created. |
created_meta_data | The created meta data. |
|
inlinevirtual |
A callback when meta data was deleted in the channel.
channel | The channel that the meta data was deleted. |
deleted_meta_data | The keys of the deleted meta data. |
|
inlinevirtual |
A callback when meta data was updated in the channel.
channel | The channel that the meta data was updated. |
updated_meta_data | The updated meta data. |
|
inlinevirtual |
A callback when an open channel was unfrozen.
channel | The open channel. |
|
inlinevirtual |
A callback when the channel was hidden on the other device or by Platform API.
channel | The channel where the channel was hidden. |
|
inlinevirtual |
A callback when user declined the invitation.
channel | The group channel where the invitation is occured. |
invitee | Invitee. |
inviter | Inviter. |
|
inlinevirtual |
A callback when users are invited by inviter.
channel | The group channel where the invitation is occured. |
invitees | Invitees. |
inviter | Inviter. |
|
inlinevirtual |
A callback when a mentioned user is received.
channel | The channel where the mentioned user is received. |
message | The received message. |
|
inlinevirtual |
A callback when a message was removed in the channel.
channel | The base channel. |
message_id | The message ID which was removed. |
|
inlinevirtual |
A callback when a message is received.
channel | The channel where the message is received. |
message | The received message. |
|
inlinevirtual |
A callback when a message is updated.
channel | The channel where the message is updated. |
message | The updated message. |
|
inlinevirtual |
A callback for when operators change in channel.
channel | The BaseChannel the change has occurred. |
|
inlinevirtual |
A callback when read receipts updated.
channel | The group channel where the read receipt updated. |
|
inlinevirtual |
A callback when a user was banned in the open channel.
channel | The open channel. |
user | The user who was banned. |
|
inlinevirtual |
A callback when a user enter an open channel.
channel | The open channel. |
user | The user |
|
inlinevirtual |
A callback when a user exit an open channel.
channel | The open channel. |
user | The user. |
|
inlinevirtual |
A callback when new member joined to the group channel.
channel | The group channel. |
user | The new user joined to the channel. |
|
inlinevirtual |
A callback when current member left from the group channel.
channel | The group channel. |
user | The member left from the channel. |
|
inlinevirtual |
A callback when a user was muted in the open channel.
channel | The open channel. |
user | The user who was muted. |
|
inlinevirtual |
A callback when a user was unbanned in the open channel.
channel | The open channel. |
user | The user who was unbanned. |
|
inlinevirtual |
A callback when a user was unmuted in the open channel.
channel | The open channel. |
user | The user who was unmuted. |