One Logo Pool Ball
AppIntents · IOS API REFERENCE

CustomURLRepresentationParameterConvertible

protocol · iOS 18.0+ · SDK 27.1

protocol CustomURLRepresentationParameterConvertible

An interface that allows a type to express its contents in a URL representation. Apply this protocol to the custom types you use to build the URL for an app intent or app entity. When you construct a URL representation, you can incorporate the properties of your app intent or app entity type into the URL you produce. The ``EntityURLRepresentation``, ``IntentURLRepresentation``, and ``EnumURLRepresentation`` types automatically convert properties with <doc://com.apple.documentation/documentation/swift/string>, <doc://com.apple.documentation/documentation/swift/int>, or <doc://com.apple.documentation/documentation/Foundation/URL> values to the required string data for the representation. For other types, adopt this protocol and use the ``CustomURLRepresentationParameterConvertible/urlRepresentationParameter`` property to deliver a string that represents your type’s content.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →