Your app’s response to a start audio call intent.


class INStartAudioCallIntentResponse : INIntentResponse


Use an INStartAudioCallIntentResponse object to specify whether your app is able to initiate an audio-based call. You create instances of this class when confirming and handling an INStartAudioCallIntent object. When it is 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 would assist your app in placing the call.

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


Initializing the Response Object

init(code: INStartAudioCallIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INStartAudioCallIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INStartAudioCallIntentResponseCode

Constants indicating the status of the response.


Inherits From

Conforms To

See Also

Start an Audio Call

protocol INStartAudioCallIntentHandling

The handler interface for initiating an audio call from your app.

class INStartAudioCallIntent

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