HandleIncomingCallIntent

@available(iOS 12.0, *)
@objc(BDKHandleIncomingCallIntent)
public class HandleIncomingCallIntent : NSObject, Intent

Represents the intent of handling an incoming call.

When the SDK detects an incoming call has been received, you should create an HandleIncomingCallIntent instance passing it the call object received and hand it to a CallViewController or to a CallWindow.

  • The intent unique identifier.

    Declaration

    Swift

    @objc
    public let uuid: UUID
  • The call object

    Declaration

    Swift

    @objc
    public let call: Call

Object initialization

  • Creates a new instance using the call provided as argument

    Declaration

    Swift

    @objc(initWithCall:)
    public init(call: Call)

    Parameters

    call

    The incoming call object

    Return Value

    An initialized instance of HandleIncomingCallIntent class