CallWindowDelegate

@available(iOS 12.0, *)
@objc(BDKCallWindowDelegate)
public protocol CallWindowDelegate

The CallWindow delegate. CallWindow instances will notify their delegate when events requiring its intervention have occurred.

  • Invoked when the window is ready to be dismissed.

    Declaration

    Swift

    @objc
    func callWindowDidFinish(_ window: CallWindow)

    Parameters

    window

    The window.

  • Invoked when the user has requested to open a chat with another user. You should hide the current window instance and present a ChannelViewController handing it the intent provided in the second parameter.

    Declaration

    Swift

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

    Parameters

    window

    The window.

    intent

    The intent from which to start the chat.