CustomURLRepresentationParameterConvertible
An interface that allows a type to express its contents in a URL representation.
Declaration
protocol CustomURLRepresentationParameterConvertibleOverview
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 String, Int, or URL values to the required string data for the representation. For other types, adopt this protocol and use the urlRepresentationParameter property to deliver a string that represents your type’s content.