Contents

Media

Listen and control audio through Siri Intents, or listen and watch media content from your app with shortcuts.

Overview

With the Media domain, users can play and control audio media in your app. Your Intents app extension directs any media-related requests to your app, which then handles the request.

Siri can suggest shortcuts to audio available in your app when the user wants to listen to the content. For example, 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, you should 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

Essentials

Playable Media Intents

Add Media

Search for Media

Update Media Affinity

User Context

Data Objects

Upcoming Media

Resolution Results

See Also

Standard Intents