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
collectionThe collection object.
contextThe context that represents the reason why the delegate is invoked.
addedChannelsThe channels that are added.
-
A callback when the channels are updated.
Declaration
Swift
@objc optional func channelCollection( _ collection: GroupChannelCollection, context: ChannelContext, updatedChannels: [GroupChannel] )Parameters
collectionThe collection object.
contextThe context that represents the reason why the delegate is invoked.
updatedChannelsThe channels that are updated.
-
A callback when the channels are deleted.
Declaration
Swift
@objc optional func channelCollection( _ collection: GroupChannelCollection, context: ChannelContext, deletedChannelURLs: [String] )Parameters
collectionThe collection object.
contextThe context that represents the reason why the delegate is invoked.
deletedChannelURLslist of channel url that are deleted.
View on GitHub
Install in Dash
GroupChannelCollectionDelegate Protocol Reference