init(title:description:default:supportedTypeIdentifiers:requestValueDialog:inputConnectionBehavior:)
Creates an app intent parameter.
Declaration
convenience init(title: LocalizedStringResource, description: LocalizedStringResource? = nil, default defaultValue: Value.UnwrappedType? = nil, supportedTypeIdentifiers: [String] = ["public.item"], requestValueDialog: IntentDialog? = nil, inputConnectionBehavior: InputConnectionBehavior = .default)Parameters
- title:
A word or short phrase summarizing this parameter.
- description:
Additional details about this parameter.
- defaultValue:
The default value for this parameter. People can specify a different value.
- supportedTypeIdentifiers:
A list of selectable type identifiers for this []. The default value is ‘public.item’.
- requestValueDialog:
A prompt that asks a person to provide the parameter value.
- inputConnectionBehavior:
An enum that indicates how this parameter receives the output from a preceding app intent.
See Also
Creating an intent parameter
init(title:description:default:supportedTypeIdentifiers:requestValueDialog:inputConnectionBehavior:resolvers:)init(title:description:supportedTypeIdentifiers:requestValueDialog:inputConnectionBehavior:optionsProvider:)init(title:description:supportedTypeIdentifiers:requestValueDialog:inputConnectionBehavior:optionsProvider:resolvers:)