BDKCallViewControllerDelegate
Objective-C
@protocol BDKCallViewControllerDelegate <NSObject>
Swift
protocol CallViewControllerDelegate : NSObjectProtocol
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
controllerThe 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
controllerThe 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
controllerThe view controller.
participantIdThe counterpart id.
View on GitHub
BDKCallViewControllerDelegate Protocol Reference