UnbluIncomingCallDelegate

protocol UnbluIncomingCallDelegate : AnyObject

Informs the host application when an incoming call is accepted or declined.

The delegate is assigned on the UnbluNotificationApi.instance singleton and is invoked directly from the CallKit/PushKit callbacks. It therefore works even before the SDK is initialized (no client and no UnbluView are required), e.g. right after a cold launch.

Assign the delegate early, typically in application(_:didFinishLaunchingWithOptions:):

UnbluNotificationApi.instance.incomingCallDelegate = self