Protocols
The following protocols are available globally.
-
Since
1.0.0Declaration
Swift
@objc public protocol SBCLogReceiver : AnyObject
-
DirectCallDelegate methods are invoked along the flow of the call. You should implement the delegate methods to adjust your app according to the changes to the states of the call.
override func viewDidLoad() { // ... call.delegate = self } // ...
Since
1.0.0Declaration
Swift
@objc(SBCDirectCallDelegate) public protocol DirectCallDelegate : AnyObject
-
Declaration
Swift
@objc(SBCSendBirdCallDelegate) public protocol SendBirdCallDelegate : AnyObject
-
Declaration
Swift
@objc(SBCSendBirdRecordingDelegate) public protocol SendBirdRecordingDelegate : AnyObject
-
RoomDelegate methods are invoked along the flow of the room. You should implement the delegate methods to adjust your app according to the changes to the states of the room.
override func viewDidLoad() { // ... room.addDelegate(self, identifier: "identifier") } // ...
Since
1.6.0Declaration
Swift
@objc(SBCRoomDelegate) public protocol RoomDelegate : AnyObject