Represents an interface to receive GroupChannelCollection events.

interface GroupChannelCollectionEventHandler {
    onChannelsAdded?: ((context: BaseChannelEventContext, channels: BaseChannel[]) => void);
    onChannelsDeleted?: ((context: BaseChannelEventContext, channelUrls: string[]) => void);
    onChannelsUpdated?: ((context: BaseChannelEventContext, channels: BaseChannel[]) => void);
}

Properties

onChannelsAdded?: ((context: BaseChannelEventContext, channels: BaseChannel[]) => void)

Called when there are newly added GroupChannels.

onChannelsDeleted?: ((context: BaseChannelEventContext, channelUrls: string[]) => void)

Called when one or more of the GroupChannels that GroupChannelCollection holds has been deleted.

onChannelsUpdated?: ((context: BaseChannelEventContext, channels: BaseChannel[]) => void)

Called when there's an update in one or more of the GroupChannels that GroupChannelCollection holds.