init(description:inputOptions:requestValueDialog:inputConnectionBehavior:optionsProvider:)
Creates an app intent parameter with a list of selectable options.
Declaration
convenience init<OptionsProvider>(description: LocalizedStringResource? = nil, inputOptions: String.IntentInputOptions? = nil, requestValueDialog: IntentDialog? = nil, inputConnectionBehavior: InputConnectionBehavior = .default, optionsProvider: OptionsProvider) where OptionsProvider : DynamicOptionsProvider, OptionsProvider.DefaultValue.ValueType == StringParameters
- description:
Additional details about this parameter.
- inputOptions:
An object that describes how a person can input the value.
- 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.
- optionsProvider:
An object that determines selectable options for this parameter.