init(code:userActivity:)
Creates a response for a play media intent.
Declaration
init(code: INPlayMediaIntentResponseCode, userActivity: NSUserActivity?)Parameters
- code:
A response code that indicates whether the app can play the media.
- userActivity:
A user activity that contains private state data that your Intents app extension shares with your main app.