ChannelViewControllerDelegate
@objc(BCHChannelViewControllerDelegate)
public protocol ChannelViewControllerDelegate
Represents the delegate of a ChannelViewController instance.
ChannelViewController instances will notify their delegate about actions happened to themself.
-
Invoked when the view controller has finished handling a chat, and it is ready to be dismissed.
Declaration
Swift
@objc func channelViewControllerDidFinish(_ controller: ChannelViewController)Parameters
controllerThe view controller.
-
Invoked when the user did press the notification window.
Declaration
Swift
@objc(channelViewController:didTouchNotification:) optional func channelViewController(_ controller: ChannelViewController, didTouch notification: ChatNotification)Parameters
controllerThe view controller.
notificationThe
ChatNotificationinstance pressed. -
Invoked when the user did press the call banner view.
Declaration
Swift
@objc(channelViewController:didTouchBanner:) func channelViewController(_ controller: ChannelViewController, didTouch banner: CallBannerView)Parameters
controllerThe view controller.
bannerThe
CallBannerViewinstance pressed. -
Invoked when the call banner view is going to be hidden.
Declaration
Swift
@objc optional func channelViewController(_ controller: ChannelViewController, willHide banner: CallBannerView)Parameters
controllerThe view controller.
bannerThe
CallBannerViewinstance that is going to be hidded. -
Invoked when the call banner view is going to be shown.
Declaration
Swift
@objc optional func channelViewController(_ controller: ChannelViewController, willShow banner: CallBannerView)Parameters
controllerThe view controller.
bannerThe
CallBannerViewinstance that is going to be shown. -
Invoked when the user did tap the auido call button on navigation bar.
Declaration
Swift
@objc func channelViewController(_ controller: ChannelViewController, didTapAudioCallWith users: [String])Parameters
controllerThe view controller.
usersThe list of users to call with.
-
Invoked when the user did tap the video call button on navigation bar.
Declaration
Swift
@objc func channelViewController(_ controller: ChannelViewController, didTapVideoCallWith users: [String])Parameters
controllerThe view controller.
usersThe list of users to call with.
View on GitHub
ChannelViewControllerDelegate Protocol Reference