SinchManagedPushDelegate
public protocol SinchManagedPushDelegate : AnyObject
Delegate of SinchManagedPush
-
Tells the delegate that a push notification was received. The push notification is a VoIP push notification.
This callback can be invoked on any thread, and payload handling (i.e., reporting the incoming call to CallKit) shouldn’t be dispatched on other queues, to avoid a risk of termination (see https://developers.sinch.com/docs/in-app-calling/ios/push-notifications-callkit/#callkit)
@param managedPush managed push instance that received the push notification @param payload The dictionary payload that the push notification carried. @param pushType TypeVoIP
Declaration
Swift
func managedPush(_ managedPush: SinchManagedPush, didReceiveIncomingPushWithPayload payload: [AnyHashable: Any], for type: String)