CallBannerControllerDelegate
@objc(BDKCallBannerControllerDelegate)
public protocol CallBannerControllerDelegate : AnyObject
Represents the delegate of a CallBannerController
instance.
CallBannerController
instances will notify their delegate about actions happened to themself.
-
Invoked when the user did press the call banner view.
Declaration
Swift
@objc func callBannerController(_ controller: CallBannerController, didTouch banner: CallBannerView)
Parameters
controller
The banner controller.
banner
The
CallBannerView
instance pressed. -
Invoked when the call banner view is going to be hidden.
Declaration
Swift
@objc optional func callBannerController(_ controller: CallBannerController, willShow banner: CallBannerView)
Parameters
controller
The banner controller.
banner
The
CallBannerView
instance that is going to be hidden. -
Invoked when the call banner view is going to be shown.
Declaration
Swift
@objc optional func callBannerController(_ controller: CallBannerController, willHide banner: CallBannerView)
Parameters
controller
The banner controller.
banner
The
CallBannerView
instance that is going to be shown.