SBDMessageCollectionDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | SBDMessageCollectionDelegate.h |
– messageCollection:context:channel:addedMessages:
Invoked when the messages are added.
- (void)messageCollection:(SBDMessageCollection *)collection context:(SBDMessageContext *)context channel:(SBDGroupChannel *)channel addedMessages:(NSArray<SBDBaseMessage*> *)messages
Parameters
collection |
Message collection object. |
---|---|
context |
The reason why the messages are added. |
channel |
The channel that has the messages. |
messages |
Messages to be added. |
Availability
3.1.0
Declared In
SBDMessageCollectionDelegate.h
– messageCollection:context:channel:updatedMessages:
Invoked when the message are updated.
- (void)messageCollection:(SBDMessageCollection *)collection context:(SBDMessageContext *)context channel:(SBDGroupChannel *)channel updatedMessages:(NSArray<SBDBaseMessage*> *)messages
Parameters
collection |
Message collection object. |
---|---|
context |
The reason why the messages are updated. |
channel |
The channel that has the messages. |
messages |
Messages to be updated. |
Availability
3.1.0
Declared In
SBDMessageCollectionDelegate.h
– messageCollection:context:channel:deletedMessages:
Invoked when the message are deleted.
- (void)messageCollection:(SBDMessageCollection *)collection context:(SBDMessageContext *)context channel:(SBDGroupChannel *)channel deletedMessages:(NSArray<SBDBaseMessage*> *)messages
Parameters
collection |
Message collection object. |
---|---|
context |
The reason why the messages are deleted. |
channel |
The channel that has the messages. |
messages |
Messages to be deleted. |
Availability
3.1.0
Declared In
SBDMessageCollectionDelegate.h
– messageCollection:context:updatedChannel:
Invoked when the channel that has the message collection is updated.
- (void)messageCollection:(SBDMessageCollection *)collection context:(SBDMessageContext *)context updatedChannel:(SBDGroupChannel *)channel
Parameters
collection |
Message collection object. |
---|---|
context |
The reason why the channel are changed. |
channel |
The channel that has the message collection has. |
Availability
3.1.0
Declared In
SBDMessageCollectionDelegate.h
– messageCollection:context:deletedChannel:
Invoked when the channel that has the message collection is deleted.
- (void)messageCollection:(SBDMessageCollection *)collection context:(SBDMessageContext *)context deletedChannel:(NSString *)channelUrl
Parameters
collection |
Message collection object. |
---|---|
context |
The reason why the channel are deleted. |
channelUrl |
Channel URL that has been deleted. |
Availability
3.1.0
Declared In
SBDMessageCollectionDelegate.h
– didDetectHugeGap:
Invoked when the huge gap has been detected.
- (void)didDetectHugeGap:(SBDMessageCollection *)collection
Parameters
collection |
Message collection object. |
---|
Availability
3.1.0
Declared In
SBDMessageCollectionDelegate.h