URLRepresentableIntent
An interface you add to an app intent type so the system can handle it like a universal link.
Declaration
protocol URLRepresentableIntent : AppIntentMentioned in
Overview
If your app already supports universal links for content, use this protocol to express your app intent types as URLs. When your app intent supports this protocol, the system can use the provided URL to process it. For example, if your app intent supports this protocol and the OpenIntent protocol, the system opens the contained item by sending the URL to your app’s URL handling code, allowing you to omit the perform() method in your type. Having a URL representation for your app intent also makes it easier to share its contents with Siri, Shortcuts, and other system features.
Construct URLs using static text and the content of your app intent’s properties. For information on how to create the URL representation, see IntentURLRepresentation.