CallWindowDelegate

@objc(BDKCallWindowDelegate)
public protocol CallWindowDelegate : AnyObject

Represents the delegate of a CallWindow instance. CallWindow instances will notify their delegate about actions happened to themself.

  • Invoked when the window has finished handling a call, and it is ready to be dismissed.

    Declaration

    Swift

    @objc
    func callWindowDidFinish(_ window: CallWindow)

    Parameters

    window

    The window.

  • Invoked when the window is trying to start a chat.

    Declaration

    Swift

    @objc
    optional func callWindow(_ window: CallWindow, openChatWith intent: OpenChatIntent)

    Parameters

    window

    The window.

    intent

    The intent from which to start the chat.