Protocols

The following protocols are available globally.

  • Since

    1.0.0
    See more

    Declaration

    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.0
    See more

    Declaration

    Swift

    @objc(SBCDirectCallDelegate)
    public protocol DirectCallDelegate : AnyObject
  • Device-wide delegate for SendBirdCall.

    Since

    1.0.0
    See more

    Declaration

    Swift

    @objc(SBCSendBirdCallDelegate)
    public protocol SendBirdCallDelegate : AnyObject
  • Device-wide recordingDelegate for SendBirdCall.

    Since

    1.3.0
    See more

    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.0
    See more

    Declaration

    Swift

    @objc(SBCRoomDelegate)
    public protocol RoomDelegate : AnyObject