Protocol

INStartVideoCallIntentHandling

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

Overview

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

Siri delivers an INStartVideoCallIntent 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 contacts to be called and to validate that your app can place the call successfully.

Topics

Handling the Intent

func handle(intent: INStartVideoCallIntent, completion: (INStartVideoCallIntentResponse) -> Void)

Called when it is time for you to hand off the call to your app.

Required.

Confirming the Response

func confirm(intent: INStartVideoCallIntent, completion: (INStartVideoCallIntentResponse) -> Void)

Called when it is time for you to validate whether your app is able to initiate the video call.

Resolving Details of the Intent

func resolveContacts(for: INStartVideoCallIntent, with: ([INPersonResolutionResult]) -> Void)

Called when it is time for you to resolve the recipients of the call.

Relationships

Inherits From

See Also

Start a Video Call

class INStartVideoCallIntent

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

class INStartVideoCallIntentResponse

Your response to a start video call intent.