Contents

PlayMediaIntentResponseCode

Codes your service can return when handling a play media intent.

Declaration

string PlayMediaIntentResponseCode

Possible Values

success

Your service can play the media item. When the client receives this InvocationResponse, it sends a request to Get a Media Queue with the UserActivity from this response.

failureRestrictedContent

Your service can’t play the media item because it’s restricted content.

failureNoUnplayedContent

The user asks to resume playback, but there isn’t any unplayed content in the playback queue.

failureUnknownMediaType

Your service doesn’t know how to play media items of this type.

failureRequiringAppLaunch

The user needs to launch your app on their iOS device to resolve a problem.

failure

A failure occurs while handling the intent.

unspecified

An unspecified response code.

See Also

Handling a Play Media Intent