Enumeration

INPlayMediaIntentResponseCode

The response codes an Intents app extension or app returns when handling or confirming a play media intent.

Declaration

typedef enum INPlayMediaIntentResponseCode : NSInteger {
    ...
} INPlayMediaIntentResponseCode;

Topics

Intents App Extensions

Response codes returned by an Intents app extension when confirming or handling a play media intent.

INPlayMediaIntentResponseCodeReady

The code that indicates the Intents app extension is ready to handle the intent.

INPlayMediaIntentResponseCodeContinueInApp

The code that tells the system to launch your app in the foreground to play the media.

INPlayMediaIntentResponseCodeHandleInApp

The code that tells the system to launch your app in the background to play the media.

App

Response codes returned by an app when handling a play media intent.

INPlayMediaIntentResponseCodeInProgress

The code that indicates the app is preparing to play the media content.

INPlayMediaIntentResponseCodeSuccess

The code that indicates the app is playing the media.

General

Response codes returned by either an Intents app extension or an app.

INPlayMediaIntentResponseCodeUnspecified

An unspecified response code.

Failures

Failure response codes returned by an Intents app extension or app.

INPlayMediaIntentResponseCodeFailure

The code that indicates a failure occurred while confirming or handling the intent.

INPlayMediaIntentResponseCodeFailureNoUnplayedContent

The code that indicates the media container has no unplayed content.

INPlayMediaIntentResponseCodeFailureRequiringAppLaunch

The code that indicates the user must launch your app before media playback can begin.

INPlayMediaIntentResponseCodeFailureRestrictedContent

The code that indicates the app cannot play the media because of content restrictions.

INPlayMediaIntentResponseCodeFailureUnknownMediaType

The code that indicates the app cannot play the media because the type is unknown or not supported.

See Also

Getting the Response Code

code

A response code that indicates whether the app can play the media.