Class

INStartVideoCallIntentResponse

Your response to a start video call intent.

Overview

Use an INStartVideoCallIntentResponse object to specify whether your app is able to initiate a video call. You create instances of this class when confirming and handling an INStartVideoCallIntent 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 INStartVideoCallIntentResponse object in the confirm(intent:completion:) and handle(intent:completion:) methods of your start video call handler object. For more information about implementing your handler object, see INStartVideoCallIntentHandling.

Topics

Initializing the Response Object

init(code: INStartVideoCallIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INStartVideoCallIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INStartVideoCallIntentResponseCode

Constants indicating the status of the response.

Relationships

Inherits From

Conforms To

See Also

Start a Video Call

protocol INStartVideoCallIntentHandling

The handler interface for initiating a video call from your app.

class INStartVideoCallIntent

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