◆ ~IChannelEventHandler()
◆ onJoinSuccess()
virtual void onJoinSuccess |
( |
| ) |
|
|
inlinevirtual |
Occurs when the local user successfully joins a channel.
◆ onJoinFailure()
Occurs when the local user fails to join a channel.
- Parameters
-
◆ onLeave()
Occurs when the local user leaves a channel.
- Parameters
-
◆ onMessageReceived()
virtual void onMessageReceived |
( |
const char * |
userId, |
|
|
const IMessage * |
message |
|
) |
| |
|
inlinevirtual |
Occurs when the local user receives a channel message.
- Parameters
-
message | The pointer to the messsage: IMessage. |
◆ onSendMessageState()
Reports the state of the message sent by the local user.
- Parameters
-
◆ onSendMessageResult()
Returns the result of the sendMessage method call.
- Parameters
-
◆ onMemberJoined()
Occurs when another member joins the channel.
- Parameters
-
member | The pointer to the member who joins the channel: IChannelMember. |
◆ onMemberLeft()
Occurs when the other member leaves the channel.
- Parameters
-
member | The pointer to the member who leaves the channel: IChannelMember. |
◆ onMembersGotten()
virtual void onMembersGotten |
( |
IChannelMember ** |
members, |
|
|
int |
userCount |
|
) |
| |
|
inlinevirtual |
Reports all the members in the channel.
- Parameters
-
members | The pointer to each member in the channel: IChannelMember. |
userCount | The number of users in the channel. |
◆ onAttributesUpdated()
Occurs when the channel attributes are updated.
- Parameters
-
◆ onUpdateAttributesResponse()
virtual void onUpdateAttributesResponse |
( |
int64_t |
requestId, |
|
|
RESPONSE_CODE |
resCode |
|
) |
| |
|
inlinevirtual |
Occurs when the local user calls updateAttributes().
- Parameters
-
requestId | ID of the current attribute update request. |
resCode | The response code: RESPONSE_CODE. |
◆ onAttributesDeleted()
Occurs when the channel attributes are deleted.
- Parameters
-
attributes | The pointer to the channel attributes that you want to remove: IChannelAttributes. |
◆ onDeleteAttributesResponse()
virtual void onDeleteAttributesResponse |
( |
int64_t |
requestId, |
|
|
RESPONSE_CODE |
resCode |
|
) |
| |
|
inlinevirtual |
Occurs when the local user calls deleteAttributes().
- Parameters
-
requestId | ID of the current attribute delete request. |
resCode | The response code: RESPONSE_CODE. |