Contents

URLRepresentableEnum

An app enum with a URL representation.

Declaration

protocol URLRepresentableEnum : AppEnum, CustomURLRepresentationParameterConvertible

Overview

Add support for URLRepresentableEnum to your app enums to add a URL representation. This allows Siri and Shortcuts to treat the enum like a universal link to specific content, allowing actions to open the URL or to make it sharable.

Note that you need to use a universal link for your URL representation, you can’t use a custom URL scheme. For more information about universal links, see Allowing apps and websites to link to your content.

Topics

Type Aliases

Type Properties

See Also

App enum