GroupChannelCollectionDelegate
@objc(SBDGroupChannelCollectionDelegate)
public protocol GroupChannelCollectionDelegate
Methods that are invoked when the event of the channel collection occurs.
Since
3.0.227-
A callback when the channels are added.
Declaration
Swift
@objc optional func channelCollection( _ collection: GroupChannelCollection, context: ChannelContext, addedChannels: [GroupChannel] )
Parameters
collection
The collection object.
context
The context that represents the reason why the delegate is invoked.
addedChannels
The channels that are added.
-
A callback when the channels are updated.
Declaration
Swift
@objc optional func channelCollection( _ collection: GroupChannelCollection, context: ChannelContext, updatedChannels: [GroupChannel] )
Parameters
collection
The collection object.
context
The context that represents the reason why the delegate is invoked.
updatedChannels
The channels that are updated.
-
A callback when the channels are deleted.
Declaration
Swift
@objc optional func channelCollection( _ collection: GroupChannelCollection, context: ChannelContext, deletedChannelURLs: [String] )
Parameters
collection
The collection object.
context
The context that represents the reason why the delegate is invoked.
deletedChannelURLs
list of channel url that are deleted.