Media Intent Shortcuts

Provide a convenient way for users to listen to and watch media content from your app with shortcuts.

Overview

Siri can suggest shortcuts to audio and video available in your app when the user may want to listen to or watch the content. For instance, Siri may suggest a playlist to the user after they connect headphones to their iPhone. These suggestions give the user a convenient way to play the media in your app.

In order for Siri to suggest media content, donate an INPlayMediaIntent object to Siri after the user plays the content (see Donating Shortcuts). To have Siri suggest new media that might be of interest to the user, save INPlayMediaIntent shortcuts for the new content to the INUpcomingMediaManager.

Topics

Playable Media Intents

Playing Media Through Siri Shortcuts

Play audio and video from your app using media intent shortcuts.

INPlayMediaIntentHandling

The interface an object implements to confirm and handle play media intents.

INMediaItem

An object that describes a piece of media content such as a song, TV show, artist, or podcast playlist.

INPlayMediaIntent

An intent containing information about media playable from your app.

INPlayMediaIntentResponse

Your response to a play media intent.

Upcoming Media

INUpcomingMediaManager

The manager object you use to suggest media to the user.

See Also

Shortcuts

Donating Shortcuts

Tell Siri about shortcuts to actions that the user performed in your app.

Deleting Donated Shortcuts

Remove your donations from Siri.

Soup Chef: Accelerating App Interactions with Shortcuts

Make it easy for people to use Siri with your app by providing shortcuts to your app’s actions.

Shortcut Management

Enable users to add shortcuts to Siri, and have your app suggest shortcuts to users.

Relevant Shortcuts

Display shortcuts on the Siri watch face.

INShortcut

An object representing an action available in your app that the system may suggest to a user or a user may add to Siri.

INInteraction

An interaction between the user and your app involving an intent object.

INObject

An object that represents a custom intent parameter.