Protocol

INStartCallIntentHandling

An interface that handles requests to start audio and video calls.

Declaration

@protocol INStartCallIntentHandling

Overview

Use the methods of the INStartCallIntentHandling protocol to resolve, confirm, and handle requests to start an audio or video call with the designated users. Adopt this protocol in an object of your Intents extension that’s capable of validating the call information. Your Intents extension shouldn’t try to initiate the call directly. Instead, a successful response involves asking Siri to launch your app to begin the call.

Siri delivers an INStartCallIntent object to your handler when the user asks to initiate a call using your app. The provided intent object contains information about who the user wants to call. Use the methods of this protocol to resolve the list of callable contacts and to validate that your app can place the call successfully.

Topics

Resolving the Intent Parameters

- resolveCallCapabilityForStartCall:withCompletion:

Resolves the type of call to start.

- resolveContactsForStartCall:withCompletion:

Resolves the recipients of the call.

- resolveDestinationTypeForStartCall:withCompletion:

Resovles the destination of the call.

Confirming the Response

- confirmStartCall:completion:

Confirms whether your app is able to initiate the call.

Handling the Intent

- handleStartCall:completion:

Handles handing off the call to your app.

Required.

Relationships

Inherits From

See Also

Start a Call

INStartCallIntent

A request to start an audio or video call with one or more users.

INStartCallIntentResponse

Your app’s response to a start call intent.