Your app’s response to a start call intent.


class INStartCallIntentResponse : INIntentResponse


Use an INStartCallIntentResponse object to specify whether your app is able to initiate an audio or video call. You create instances of this class when confirming and handling an INStartCallIntent object. When it’s time to call the user, SiriKit launches your app and delivers the NSUserActivity object contained in this object. Use that user activity object to specify any additional information that assists your app in placing the call.

You create an INStartCallIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your start call handler object. For more information about implementing your handler object, see INStartCallIntentHandling.


Initializing the Response Object

init(code: INStartCallIntentResponseCode, userActivity: NSUserActivity?)

Initializes the response object with the specified code and user activity object.

Getting the Response Code

var code: INStartCallIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INStartCallIntentResponseCode

Constants that indicate the response state.


Inherits From

Conforms To

See Also

Start a Call

protocol INStartCallIntentHandling

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

class INStartCallIntent

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