Contents

IntentParameter

A property wrapper that indicates the associated property is an input argument of the app intent.

Declaration

@propertyWrapper final class IntentParameter<Value> where Value : _IntentValue, Value : Sendable

Mentioned in

Overview

When you implement an AppIntent type, declare its parameters using the @Parameter property wrapper.

Topics

Creating an intent parameter for primitive types

Creating an intent parameter for common framework types

Creating an intent parameter for custom types

Accessing the underlying value

Requesting a value

Requesting confirmation

Requesting disambiguation

Deprecated

Initializers

See Also

Intent parameters