GroupChannelCollectionDelegate
public protocol GroupChannelCollectionDelegate: AnyObject
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
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
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
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.