---
title: defaultResult()
framework: appintents
role: symbol
role_heading: Instance Method
path: appintents/dynamicoptionsprovider/defaultresult()
---

# defaultResult()

The default value for parameters using this provider when no value is provided by the user.

## Declaration

```swift
func defaultResult() async -> Self.DefaultValue?
```

## Discussion

Discussion Either a single value or an array of values may be provided. If an array is provided and the parameter requires a single value, only the first element of the array is used.

## See Also

### Returning the parameter options

- [results()](appintents/dynamicoptionsprovider/results().md)
- [Result](appintents/dynamicoptionsprovider/result.md)
