BDKCallViewControllerDelegate
@protocol BDKCallViewControllerDelegate <NSObject>
Represents the delegate of a BDKCallViewController
instance.
BDKCallViewController
instances will notify their delegate when they have finished handling a call and they are ready to be dismissed.
-
Invoked when the view controller has finished handling a call, and it is ready to be dismissed.
Declaration
Objective-C
- (void)callViewControllerDidFinish:(nonnull BDKCallViewController *)controller;
Swift
func callViewControllerDidFinish(_ controller: CallViewController)
Parameters
controller
The view controller.
-
Invoked when the user has pressed the back button, and the view controller is ready to be dismissed.
Declaration
Objective-C
- (void)callViewControllerDidPressBack: (nonnull BDKCallViewController *)controller;
Swift
func callViewControllerDidPressBack(_ controller: CallViewController)
Parameters
controller
The view controller.
-
Invoked when the view controller is trying to start a chat.
Declaration
Objective-C
- (void)callViewController:(nonnull BDKCallViewController *)controller openChatWith:(nonnull NSString *)participantId;
Swift
func callViewController(_ controller: CallViewController, openChatWith participantId: String)
Parameters
controller
The view controller.
participantId
The counterpart id.