Protocol

INAddMediaIntentHandling

The handler interface that adds media.

Declaration

@protocol INAddMediaIntentHandling

Overview

Use the methods of the INAddMediaIntentHandling protocol to resolve, confirm, and handle requests to add media. Adopt this protocol in an object of your Intents extension that’s capable of adding media.

Siri delivers an INAddMediaIntent object to your handler when the user asks to add media using your app. Use the methods of this protocol to resolve the parameters and add the media.

Topics

Resolving Details of the Intent

- resolveMediaDestinationForAddMedia:withCompletion:

Resolves the destination for the added media.

- resolveMediaItemsForAddMedia:withCompletion:

Resolves the media items to add.

Confirming the Response

- confirmAddMedia:completion:

Confirms the details of the media addition request.

Handling the Intent

- handleAddMedia:completion:

Handles the media addition request.

Required.

Relationships

Inherits From

See Also

Add Media

INAddMediaIntent

A request to add a media item.

INAddMediaIntentResponse

Your app’s response to an add media intent.